1 |
commit: a5bf629d70f6aa132a3b0b3740e8461b52a1d1d4 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 00:50:01 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 01:00:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5bf629d |
7 |
|
8 |
sys-libs/libstatgrab: bump to 0.92 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/730510 |
11 |
Closes: https://bugs.gentoo.org/716052 |
12 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
sys-libs/libstatgrab/Manifest | 1 + |
16 |
sys-libs/libstatgrab/libstatgrab-0.92.ebuild | 43 ++++++++++++++++++++++++++++ |
17 |
2 files changed, 44 insertions(+) |
18 |
|
19 |
diff --git a/sys-libs/libstatgrab/Manifest b/sys-libs/libstatgrab/Manifest |
20 |
index 01a4f85a8e7..abd1dbf4922 100644 |
21 |
--- a/sys-libs/libstatgrab/Manifest |
22 |
+++ b/sys-libs/libstatgrab/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST libstatgrab-0.91.tar.gz 776046 BLAKE2B 29906d4df8b8e8f1ae8fedf5ccac12b282b5cba66715a2d1b51059426e7cb073862e49cbee535c0f9ea7a34171cbc3d143a38a92149ffe5f22ed9ec426fec0be SHA512 f360f2e1b185bf9603b1d9c50649b0050e9502128ff81a9f4de88457e2f5203deafe7fd7ac13ebc4cc56e6ecd1bdf8aacae64987bdf36af0c9929e30626915f6 |
25 |
+DIST libstatgrab-0.92.tar.gz 815262 BLAKE2B d8ca538f01d9e0b1d5c459c9c0da6df5b6806e02649d726c3ee8a2f69233a7183df6dda95980a8e6f8b438478ec28f4baa9d623d5372e5e3e28ea4909e905872 SHA512 a99c6be56d930779d0d8f6f81e64e2f31e19423009c39e925b39116a42aa2c6037651992ac2168c43a5c6ecadf3e4a58486ab6148cf96118c429b04fdcf65192 |
26 |
|
27 |
diff --git a/sys-libs/libstatgrab/libstatgrab-0.92.ebuild b/sys-libs/libstatgrab/libstatgrab-0.92.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..5210d97f618 |
30 |
--- /dev/null |
31 |
+++ b/sys-libs/libstatgrab/libstatgrab-0.92.ebuild |
32 |
@@ -0,0 +1,43 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools |
39 |
+ |
40 |
+DESCRIPTION="A tool to provide access to statistics about the system on which it's run" |
41 |
+HOMEPAGE="https://www.i-scream.org/libstatgrab/" |
42 |
+SRC_URI="https://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="|| ( GPL-2 LGPL-2.1 )" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86" |
47 |
+IUSE="doc examples" |
48 |
+ |
49 |
+RDEPEND="sys-libs/ncurses" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+ |
52 |
+DOCS=( ChangeLog PLATFORMS NEWS AUTHORS README ) |
53 |
+ |
54 |
+src_configure() { |
55 |
+ local myeconfargs=( |
56 |
+ --disable-setgid-binaries |
57 |
+ --disable-setuid-binaries |
58 |
+ --with-ncurses |
59 |
+ --disable-static |
60 |
+ ) |
61 |
+ |
62 |
+ econf "${myeconfargs[@]}" |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ default |
67 |
+ |
68 |
+ if use examples; then |
69 |
+ docompress -x /usr/share/doc/${PF}/examples |
70 |
+ docinto examples |
71 |
+ doins -r examples/* |
72 |
+ fi |
73 |
+ |
74 |
+ find "${ED}" -name '*.la' -delete || die |
75 |
+} |