1 |
commit: b8cec8606b75dc332d73e1799ad8aa9275c7ff8a |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 00:42:02 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 01:00:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8cec860 |
7 |
|
8 |
sys-libs/libstatgrab: port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sys-libs/libstatgrab/libstatgrab-0.91.ebuild | 23 +++++++++++++---------- |
14 |
1 file changed, 13 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/libstatgrab/libstatgrab-0.91.ebuild b/sys-libs/libstatgrab/libstatgrab-0.91.ebuild |
17 |
index 2e211e2a49e..8fa5c728d72 100644 |
18 |
--- a/sys-libs/libstatgrab/libstatgrab-0.91.ebuild |
19 |
+++ b/sys-libs/libstatgrab/libstatgrab-0.91.ebuild |
20 |
@@ -1,39 +1,42 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=7 |
27 |
|
28 |
-AUTOTOOLS_AUTORECONF=frob |
29 |
-inherit autotools-utils |
30 |
+inherit autotools |
31 |
|
32 |
DESCRIPTION="A tool to provide access to statistics about the system on which it's run" |
33 |
HOMEPAGE="https://www.i-scream.org/libstatgrab/" |
34 |
SRC_URI="https://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/${P}.tar.gz" |
35 |
|
36 |
LICENSE="|| ( GPL-2 LGPL-2.1 )" |
37 |
-SLOT=0 |
38 |
+SLOT="0" |
39 |
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc x86" |
40 |
-IUSE="doc examples static-libs" |
41 |
+IUSE="doc examples" |
42 |
|
43 |
RDEPEND="sys-libs/ncurses" |
44 |
DEPEND="${RDEPEND}" |
45 |
|
46 |
DOCS=( ChangeLog PLATFORMS NEWS AUTHORS README ) |
47 |
|
48 |
-PATCHES=( "${FILESDIR}"/${P}-tinfo.patch ) |
49 |
+PATCHES=( |
50 |
+ "${FILESDIR}"/${P}-tinfo.patch |
51 |
+) |
52 |
|
53 |
src_configure() { |
54 |
local myeconfargs=( |
55 |
--disable-setgid-binaries |
56 |
--disable-setuid-binaries |
57 |
--with-ncurses |
58 |
- $(use_enable static-libs static) |
59 |
+ --disable-static |
60 |
) |
61 |
- autotools-utils_src_configure |
62 |
+ |
63 |
+ econf "${myeconfargs[@]}" |
64 |
} |
65 |
|
66 |
src_install() { |
67 |
- autotools-utils_src_install |
68 |
+ default |
69 |
+ |
70 |
if use examples; then |
71 |
docompress -x /usr/share/doc/${PF}/examples |
72 |
insinto /usr/share/doc/${PF}/examples |