diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-07-29 12:11:39 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-07-29 12:16:14 +0200 |
commit | 6c4ea64925509c2e0bd47497a86e5b6f68821846 (patch) | |
tree | 8feb5f85b9c6981c55c59ea7d8de50d355b3417c /sys-libs/libstatgrab | |
parent | media-fonts/urw-fonts: add github upstream metadata (diff) | |
download | gentoo-6c4ea64925509c2e0bd47497a86e5b6f68821846.tar.gz gentoo-6c4ea64925509c2e0bd47497a86e5b6f68821846.tar.bz2 gentoo-6c4ea64925509c2e0bd47497a86e5b6f68821846.zip |
sys-libs/libstatgrab: add 0.92.1
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sys-libs/libstatgrab')
-rw-r--r-- | sys-libs/libstatgrab/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/libstatgrab/libstatgrab-0.92.1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-libs/libstatgrab/Manifest b/sys-libs/libstatgrab/Manifest index 51c78d111e25..5b68a24ad6cf 100644 --- a/sys-libs/libstatgrab/Manifest +++ b/sys-libs/libstatgrab/Manifest @@ -1 +1,2 @@ +DIST libstatgrab-0.92.1.tar.gz 817531 BLAKE2B 5315772da07a9229f7f5d85dc7563333892e2a7293d7b331bd65edbebc08841103e6cf695d8faf25b83135545dda767bfc358517afa866981657dc8205d319be SHA512 e1f14df8abbb044d02b0ecebc23fbe9effaa0bac6738686e661de015564df5a4d872edef6d07fd150db25764b449d47ef54beecbe12c51987a679b07edc53c97 DIST libstatgrab-0.92.tar.gz 815262 BLAKE2B d8ca538f01d9e0b1d5c459c9c0da6df5b6806e02649d726c3ee8a2f69233a7183df6dda95980a8e6f8b438478ec28f4baa9d623d5372e5e3e28ea4909e905872 SHA512 a99c6be56d930779d0d8f6f81e64e2f31e19423009c39e925b39116a42aa2c6037651992ac2168c43a5c6ecadf3e4a58486ab6148cf96118c429b04fdcf65192 diff --git a/sys-libs/libstatgrab/libstatgrab-0.92.1.ebuild b/sys-libs/libstatgrab/libstatgrab-0.92.1.ebuild new file mode 100644 index 000000000000..4e5b5e192686 --- /dev/null +++ b/sys-libs/libstatgrab/libstatgrab-0.92.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A tool to provide access to statistics about the system on which it's run" +HOMEPAGE="https://www.i-scream.org/libstatgrab/" +SRC_URI="https://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/${P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~riscv ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND="sys-libs/ncurses:=" +DEPEND="${RDEPEND}" + +DOCS=( ChangeLog PLATFORMS NEWS AUTHORS README ) + +src_configure() { + local myeconfargs=( + --disable-setgid-binaries + --disable-setuid-binaries + --with-ncurses + --disable-static + $(use_enable test tests) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + docinto examples + dodoc -r examples/* + fi + + find "${ED}" -name '*.la' -delete || die +} |