Overlay/app-laptop/samsung-tools/samsung-tools-2.3.3.ebuild

44 lines
944 B
Bash

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/samsung-tools/samsung-tools-2.1.ebuild,v 1.2 2013/07/02 22:00:21 vincent Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit fdo-mime python-r1
DESCRIPTION="Tools for Samsung laptops"
HOMEPAGE="http://launchpad.net/samsung-tools"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-laptop/easy-slow-down-manager
dev-python/dbus-python
dev-python/notify-python
dev-python/pygtk
net-wireless/rfkill
sys-apps/vbetool
sys-power/pm-utils
x11-misc/xbindkeys"
RDEPEND="${DEPEND}"
src_compile() {
return
}
src_install() {
emake DESTDIR="${D}" install
newinitd "${FILESDIR}"/${PN}.init ${PN}
}
pkg_postinst() {
fdo-mime_desktop_database_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
}