/[gentoo-x86]/app-laptop/samsung-tools/samsung-tools-2.3.1.ebuild
Gentoo

Contents of /app-laptop/samsung-tools/samsung-tools-2.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jun 11 00:45:02 2015 UTC (5 years ago) by idella4
Branch: MAIN
CVS Tags: HEAD
bump ebuild based on ebuild supplied by July Tikhonov in bug #484034

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7 inherit fdo-mime python-single-r1
8
9 DESCRIPTION="Tools for Samsung laptops"
10 HOMEPAGE="http://launchpad.net/samsung-tools"
11 SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RDEPEND="${PYTHON_DEPS}
19 dev-python/dbus-python[${PYTHON_USEDEP}]
20 dev-python/notify-python[${PYTHON_USEDEP}]
21 dev-python/pygtk[${PYTHON_USEDEP}]
22 app-laptop/easy-slow-down-manager
23 net-wireless/rfkill
24 sys-apps/vbetool
25 sys-power/pm-utils
26 x11-misc/xbindkeys"
27 DEPEND="${RDEPEND}"
28
29 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
30
31 pkg_setup() {
32 python-single-r1_pkg_setup
33 }
34
35 src_compile() {
36 return
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install
41 newinitd "${FILESDIR}"/${PN}.init ${PN}
42
43 python_fix_shebang "${D}"/usr/bin
44 python_fix_shebang "${D}"/usr/share/samsung-tools/system-service.py
45 python_fix_shebang "${D}"/usr/share/samsung-tools/session-service.py
46 python_optimize "${D}"/usr/share/samsung-tools/backends
47 }
48
49 pkg_postinst() {
50 fdo-mime_desktop_database_update
51 }
52
53 pkg_postrm() {
54 fdo-mime_desktop_database_update
55 }

  ViewVC Help
Powered by ViewVC 1.1.20