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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Mar 23 20:02:40 2012 UTC (8 years, 3 months ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old

(Portage version: 2.2.0_alpha94/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/samsung-tools/samsung-tools-1.4.ebuild,v 1.2 2012/03/23 19:59:35 angelos Exp $
4
5 EAPI=3
6 PYTHON_DEPEND=2
7 inherit fdo-mime python
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 DEPEND="app-laptop/easy-slow-down-manager
19 dev-python/dbus-python
20 dev-python/notify-python
21 dev-python/pygtk
22 net-wireless/rfkill
23 sys-power/pm-utils
24 x11-misc/xbindkeys"
25 RDEPEND="${DEPEND}"
26
27 pkg_setup() {
28 python_set_active_version 2
29 }
30
31 src_prepare() {
32 python_convert_shebangs -r -q 2 .
33 }
34
35 src_compile() {
36 return
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install || die
41 }
42
43 pkg_postinst() {
44 fdo-mime_desktop_database_update
45 python_mod_optimize /usr/lib/${PN}
46 }
47
48 pkg_postrm() {
49 fdo-mime_desktop_database_update
50 python_mod_cleanup /usr/lib/${PN}
51 }

  ViewVC Help
Powered by ViewVC 1.1.20