1 |
commit: 3a64afde18a7c7fca8b18b892ac80fa1ca7a5584 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 23 18:38:32 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 2 20:17:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a64afde |
7 |
|
8 |
x11-plugins/wmpower: EAPI7, improve ebuild |
9 |
|
10 |
x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild | 27 +++++++++++++++++++++++++++ |
11 |
1 file changed, 27 insertions(+) |
12 |
|
13 |
diff --git a/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild b/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000000..6a4a750ff07 |
16 |
--- /dev/null |
17 |
+++ b/x11-plugins/wmpower/wmpower-0.4.3-r1.ebuild |
18 |
@@ -0,0 +1,27 @@ |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+ |
22 |
+EAPI=7 |
23 |
+ |
24 |
+DESCRIPTION="a dockapp to get/set power management status for laptops (APM, ACPI |
25 |
+and CPUfreq)" |
26 |
+HOMEPAGE="http://wmpower.sourceforge.net/" |
27 |
+SRC_URI="mirror://sourceforge/wmpower/${P}.tar.bz2" |
28 |
+ |
29 |
+LICENSE="GPL-2" |
30 |
+SLOT="0" |
31 |
+KEYWORDS="~amd64 ~ppc ~x86" |
32 |
+ |
33 |
+RDEPEND="x11-libs/libX11 |
34 |
+ x11-libs/libXext |
35 |
+ x11-libs/libXpm" |
36 |
+DEPEND="${RDEPEND} |
37 |
+ x11-base/xorg-proto" |
38 |
+ |
39 |
+DOCS=( AUTHORS BUGS ChangeLog LEGGIMI NEWS README README.compal THANKS TODO ) |
40 |
+ |
41 |
+src_compile() { |
42 |
+ # override wmpower self-calculated cflags |
43 |
+ econf MY_CFLAGS="${CFLAGS}" |
44 |
+ emake prefix="/usr/" |
45 |
+} |