|
Lines 1-6
Link Here
|
| 1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-laptop/batterymon/batterymon-1.2.0.ebuild,v 1.2 2009/12/15 16:50:07 idl0r Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-laptop/batterymon/batterymon-1.2.0.ebuild,v 1.3 2010/01/15 19:09:20 idl0r Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI="2" |
5 |
EAPI="2" |
| 6 |
SUPPORT_PYTHON_ABIS="1" |
6 |
SUPPORT_PYTHON_ABIS="1" |
|
Lines 31-36
Link Here
|
| 31 |
} |
31 |
} |
| 32 |
|
32 |
|
| 33 |
src_install() { |
33 |
src_install() { |
|
|
34 |
install_batterymon() { |
| 34 |
newbin batterymon.py batterymon || die |
35 |
newbin batterymon.py batterymon || die |
| 35 |
|
36 |
|
| 36 |
insinto $(python_get_sitedir)/${PN} |
37 |
insinto $(python_get_sitedir)/${PN} |
|
Lines 44-49
Link Here
|
| 44 |
|
45 |
|
| 45 |
insinto /usr/share/${PN}/ |
46 |
insinto /usr/share/${PN}/ |
| 46 |
doins -r icons/ batterymon.rc || die |
47 |
doins -r icons/ batterymon.rc || die |
|
|
48 |
} |
| 49 |
python_execute_function install_batterymon |
| 47 |
} |
50 |
} |
| 48 |
|
51 |
|
| 49 |
pkg_postinst() { |
52 |
pkg_postinst() { |