summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-02-21 18:51:01 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-02-21 18:51:01 +0100
commitfc19d17febf62788858f070539c198a7aace5314 (patch)
tree9a34ae23f0c6b5e3bc9d8a07e2875a14263d1190 /sys-fs/sysfsutils
parentnet-fs/nfs-utils: Bump to version 2.5.3 (diff)
downloadgentoo-fc19d17febf62788858f070539c198a7aace5314.tar.gz
gentoo-fc19d17febf62788858f070539c198a7aace5314.tar.bz2
gentoo-fc19d17febf62788858f070539c198a7aace5314.zip
sys-fs/sysfsutils: Bump to version 2.1.1
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs/sysfsutils')
-rw-r--r--sys-fs/sysfsutils/Manifest1
-rw-r--r--sys-fs/sysfsutils/sysfsutils-2.1.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-fs/sysfsutils/Manifest b/sys-fs/sysfsutils/Manifest
index e8dea278f89f..b7e2c3a23b79 100644
--- a/sys-fs/sysfsutils/Manifest
+++ b/sys-fs/sysfsutils/Manifest
@@ -1 +1,2 @@
DIST sysfsutils-2.1.0.tar.gz 788885 BLAKE2B faaeba9d156e48b98ecc50c28711205dd7b99da4966206493f2b63d8a7a3e730b6564a1dac9304c8af56c516e5a13d6d9cf1ebd8773563617c3acc2387059a09 SHA512 485902d98b41a69343cb037883d0c0a1de8a1a4aed657cd4528fe10bc845ac51629657dff01deef042e57c9bd9243095e23fc931d06d74db31b03c5f0a18cf07
+DIST sysfsutils-2.1.1.tar.gz 78823 BLAKE2B 2249a9b7b95bd63be14d60fc3f38d569ee40624885d04391e1fd1d3927abc0695977f456d76214efacaa5149fd860ae1bf4ed0de8d33ea2aa047b446904195bd SHA512 7e1c8535be3c29dec8e23e8b6e8d3ec794bbdc696f161fa38731844c82cc1d37ff04f94c8b0ec0cf8da7147fc696dad0086262641984fa67378ffd2f162dc358
diff --git a/sys-fs/sysfsutils/sysfsutils-2.1.1.ebuild b/sys-fs/sysfsutils/sysfsutils-2.1.1.ebuild
new file mode 100644
index 000000000000..fbfcd243e92c
--- /dev/null
+++ b/sys-fs/sysfsutils/sysfsutils-2.1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools toolchain-funcs usr-ldscript
+
+DESCRIPTION="System Utilities Based on Sysfs"
+HOMEPAGE="http://linux-diag.sourceforge.net/Sysfsutils.html https://github.com/linux-ras/sysfsutils"
+SRC_URI="https://github.com/linux-ras/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+src_prepare() {
+ default
+
+ # workaround maintainer mode
+ AT_M4DIR=m4 eautoreconf
+
+ # with eautoreconf you get "Useless epunt_cxx usage"
+ # without you don't
+ #epunt_cxx
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ dodoc docs/libsysfs.txt
+ gen_usr_ldscript -a sysfs
+
+ # We do not distribute this
+ rm -f "${ED}"/usr/bin/dlist_test "${ED}"/usr/lib*/libsysfs.la || die
+}