1 |
commit: 255e23d6e0d984e2f3489e2a6ae92df22e60b2e4 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 18 09:57:03 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 18 09:57:03 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=255e23d6 |
7 |
|
8 |
EAPI=5; minor tidying |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
dev-games/wfmath/wfmath-1.0.1.ebuild | 20 +++++++------------- |
13 |
1 file changed, 7 insertions(+), 13 deletions(-) |
14 |
|
15 |
diff --git a/dev-games/wfmath/wfmath-1.0.1.ebuild b/dev-games/wfmath/wfmath-1.0.1.ebuild |
16 |
index 10ad211..77a2ab2 100644 |
17 |
--- a/dev-games/wfmath/wfmath-1.0.1.ebuild |
18 |
+++ b/dev-games/wfmath/wfmath-1.0.1.ebuild |
19 |
@@ -2,7 +2,9 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
-EAPI=4 |
24 |
+EAPI=5 |
25 |
+inherit eutils |
26 |
+ |
27 |
DESCRIPTION="Worldforge math library" |
28 |
HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/wfmath" |
29 |
SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2" |
30 |
@@ -17,24 +19,16 @@ DEPEND="doc? ( app-doc/doxygen ) |
31 |
virtual/pkgconfig" |
32 |
|
33 |
src_configure() { |
34 |
- econf \ |
35 |
- $(use_enable static-libs static) |
36 |
+ econf $(use_enable static-libs static) |
37 |
} |
38 |
|
39 |
src_compile() { |
40 |
emake |
41 |
- if use doc; then |
42 |
- emake -C doc docs |
43 |
- fi |
44 |
+ use doc && emake -C doc docs |
45 |
} |
46 |
|
47 |
src_install() { |
48 |
default |
49 |
- if use doc; then |
50 |
- dohtml doc/html/* |
51 |
- fi |
52 |
- if ! use static-libs ; then |
53 |
- find "${D}" -type f -name '*.la' -exec rm {} + \ |
54 |
- || die "la removal failed" |
55 |
- fi |
56 |
+ use doc && dohtml doc/html/* |
57 |
+ prune_libtool_files |
58 |
} |