1 |
commit: 98410ba1c30bb7d22d2f234a7205e7c189592f04 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 28 23:43:45 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 29 13:17:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98410ba1 |
7 |
|
8 |
x11-plugins/wmbio: bump EAPI and drop eutils |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
x11-plugins/wmbio/wmbio-1.02.ebuild | 16 ++++++---------- |
13 |
1 file changed, 6 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/x11-plugins/wmbio/wmbio-1.02.ebuild b/x11-plugins/wmbio/wmbio-1.02.ebuild |
16 |
index b6fcce6d415..b2be120eed9 100644 |
17 |
--- a/x11-plugins/wmbio/wmbio-1.02.ebuild |
18 |
+++ b/x11-plugins/wmbio/wmbio-1.02.ebuild |
19 |
@@ -1,8 +1,7 @@ |
20 |
# Copyright 1999-2018 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=2 |
24 |
-inherit eutils |
25 |
+EAPI=6 |
26 |
|
27 |
DESCRIPTION="A Window Maker applet that shows your biorhythm" |
28 |
HOMEPAGE="http://wmbio.sourceforge.net/" |
29 |
@@ -22,18 +21,15 @@ DEPEND="${RDEPEND} |
30 |
S=${WORKDIR}/${P}/src |
31 |
|
32 |
src_prepare() { |
33 |
+ default |
34 |
# Honour Gentoo CFLAGS |
35 |
- sed -i "s/-g -O2/\$(CFLAGS)/" Makefile |
36 |
+ sed -i "s/-g -O2/\$(CFLAGS)/" Makefile || die "sed for CFLAGS failed" |
37 |
|
38 |
# Honour Gentoo LDFLAGS |
39 |
- sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile |
40 |
-} |
41 |
- |
42 |
-src_compile() { |
43 |
- emake || die "emake failed" |
44 |
+ sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile || die "sed for LDFLAGS failed" |
45 |
} |
46 |
|
47 |
src_install () { |
48 |
- dobin wmbio || die "dobin failed" |
49 |
- dodoc ../{AUTHORS,Changelog,NEWS,README} || die |
50 |
+ dobin wmbio |
51 |
+ dodoc ../{AUTHORS,Changelog,NEWS,README} |
52 |
} |