1 |
commit: b155ee79dd56833d9752ea6cf68ccc0f369f0716 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 25 15:12:18 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 25 15:33:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b155ee79 |
7 |
|
8 |
app-arch/advancecomp: EAPI 7, ebuild style |
9 |
|
10 |
Bump to EAPI 7 and improve ebuild style. Remove meaningless flags |
11 |
discarding built executables and use upstream install rules. Add slot |
12 |
operators to linked libraries. |
13 |
|
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
app-arch/advancecomp/advancecomp-2.1.ebuild | 31 ++++++++++------------------- |
17 |
1 file changed, 10 insertions(+), 21 deletions(-) |
18 |
|
19 |
diff --git a/app-arch/advancecomp/advancecomp-2.1.ebuild b/app-arch/advancecomp/advancecomp-2.1.ebuild |
20 |
index d92c691612b..0c96dbc6fa3 100644 |
21 |
--- a/app-arch/advancecomp/advancecomp-2.1.ebuild |
22 |
+++ b/app-arch/advancecomp/advancecomp-2.1.ebuild |
23 |
@@ -1,9 +1,7 @@ |
24 |
# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=6 |
28 |
- |
29 |
-inherit eutils |
30 |
+EAPI=7 |
31 |
|
32 |
DESCRIPTION="Recompress ZIP, PNG and MNG, considerably improving compression" |
33 |
HOMEPAGE="http://www.advancemame.it/comp-readme.html" |
34 |
@@ -12,10 +10,10 @@ SRC_URI="https://github.com/amadvance/${PN}/releases/download/v${PV}/${P}.tar.gz |
35 |
LICENSE="GPL-2+ Apache-2.0 LGPL-2.1+ MIT" |
36 |
SLOT="0" |
37 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" |
38 |
-IUSE="mng png test" |
39 |
+IUSE="test" |
40 |
|
41 |
-RDEPEND="app-arch/bzip2 |
42 |
- sys-libs/zlib" |
43 |
+RDEPEND="app-arch/bzip2:= |
44 |
+ sys-libs/zlib:=" |
45 |
DEPEND="${RDEPEND}" |
46 |
# test? ( dev-util/valgrind ) |
47 |
# test? ( app-text/tofrodos ) |
48 |
@@ -23,23 +21,14 @@ DEPEND="${RDEPEND}" |
49 |
RESTRICT="test" #282441, #523212 |
50 |
|
51 |
src_configure() { |
52 |
- econf --enable-bzip2 \ |
53 |
+ local myconf=( |
54 |
+ --enable-bzip2 |
55 |
$(use_enable test valgrind) |
56 |
+ ) |
57 |
+ econf "${myconf[@]}" |
58 |
} |
59 |
|
60 |
src_install() { |
61 |
- dobin advdef advzip |
62 |
- |
63 |
- if use png; then |
64 |
- dobin advpng |
65 |
- doman doc/advpng.1 |
66 |
- fi |
67 |
- |
68 |
- if use mng; then |
69 |
- dobin advmng |
70 |
- doman doc/advmng.1 |
71 |
- fi |
72 |
- |
73 |
- dodoc HISTORY AUTHORS README |
74 |
- doman doc/advdef.1 doc/advzip.1 |
75 |
+ default |
76 |
+ dodoc HISTORY |
77 |
} |