summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2018-01-12 14:14:37 -0500
committerMike Frysinger <vapier@gentoo.org>2018-01-12 14:15:21 -0500
commit55afc97de108e7cb8c792c3766edddb76f651884 (patch)
treec65ca545484ffe03791f1550273d09da9f9c3fcc /sys-apps/s390-tools
parentsys-apps/s390-tools: move chmem/lsmem to util-linux (diff)
downloadgentoo-55afc97de108e7cb8c792c3766edddb76f651884.tar.gz
gentoo-55afc97de108e7cb8c792c3766edddb76f651884.tar.bz2
gentoo-55afc97de108e7cb8c792c3766edddb76f651884.zip
sys-apps/s390-tools: version bump to 2.2.0
Diffstat (limited to 'sys-apps/s390-tools')
-rw-r--r--sys-apps/s390-tools/Manifest1
-rw-r--r--sys-apps/s390-tools/s390-tools-2.2.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-apps/s390-tools/Manifest b/sys-apps/s390-tools/Manifest
index 32ed1d773766..49463a2af85f 100644
--- a/sys-apps/s390-tools/Manifest
+++ b/sys-apps/s390-tools/Manifest
@@ -2,3 +2,4 @@ DIST e2fsprogs-1.41.3.tar.gz 4365234 BLAKE2B 44875ed5890d6f7a690efc5148edc39b454
DIST linux-2.6.27.tar.bz2 50355835 BLAKE2B 7f3a20b510e1127894871e7eabad13fd8b26888110a6cf0b64348667299ba3f7a8018995b0ed41d3a7bc32e802e0db2093e35ae4f889022d04fc911952140e0f SHA512 fcafcea4148e15ffacb57e4eef731d8a2655bba15c6445a84f7345579bd6b6b9a68ad1a44a58f78e78a619efd84ce79c63ce3de3931ae7857af647a06ac052e2
DIST s390-tools-1.23.1.tar.bz2 625295 BLAKE2B 657ca9394468605ed26b9e4eb24239971076cd741837913109745598c25ffc4fc024c22af376f1da4f3236da3df31da93ccfdd6766e61dc3c004153913b0abca SHA512 c1f0fe79cfcbf6217e1aba74172e7644eee25f8886b70885e8558ad48342d6b41b35cefd398c3f5ff430d382ea6103b93ed8f666f0038d4f5abc3c3bc787d0eb
DIST s390-tools-1.36.1.tar.bz2 827505 BLAKE2B 5774062699331c6d5958fef44f6cbb048e05aecc190c2519a29dc9c43b0d0d000d8be8183a447eb81b7affbf236edc21105bfe6a689e23b2f519feea0700b9f0 SHA512 83b3456bce8af0d5e1f6a1b96335809a21b676b2371ca101e5f588a18e0de65b8e15a9a973a7dcc2cad800341ecf5997e8230a68b9670751cdf1d6f8d59be22c
+DIST s390-tools-2.2.0.tar.gz 1047199 BLAKE2B d23cfb277d341b4fe73ca92eba0a7bf49420d3303737d871979a93814d1c0cb53884a6fae78453fe69d4a8a8e35923fe9bf2433a412578f8d7696c9defd8570a SHA512 f029b92f18f95b49e189a4f5ad78c02ee629e630a93a8bbfe6966030fe8aaf069e86582d77213d68b447300b73317e4dbcb228df5ff0795a2785f6735087ceab
diff --git a/sys-apps/s390-tools/s390-tools-2.2.0.ebuild b/sys-apps/s390-tools/s390-tools-2.2.0.ebuild
new file mode 100644
index 000000000000..72f09e63dfbe
--- /dev/null
+++ b/sys-apps/s390-tools/s390-tools-2.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit toolchain-funcs udev
+
+DESCRIPTION="User space utilities for the zSeries (s390) Linux kernel and device drivers"
+HOMEPAGE="https://www.ibm.com/developerworks/linux/linux390/s390-tools.html"
+SRC_URI="https://github.com/ibm-s390-tools/s390-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="-* ~s390"
+IUSE="fuse ncurses pfm snmp zlib"
+
+RDEPEND="fuse? ( sys-fs/fuse:= )
+ ncurses? ( sys-libs/ncurses:0= )
+ pfm? ( app-misc/pfm )
+ snmp? ( net-analyzer/net-snmp )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ dev-util/indent
+ app-admin/genromfs"
+
+src_configure() {
+ export MAKEOPTS+=" V=1"
+ export HAVE_DRACUT=0
+ export HAVE_FUSE=$(usex fuse 1 0)
+ export HAVE_NCURSES=$(usex ncurses 1 0)
+ export HAVE_SNMP=$(usex snmp 1 0)
+ export HAVE_PFM=$(usex pfm 1 0)
+ export HAVE_ZLIB=$(usex zlib 1 0)
+ tc-export AR BUILD_CC CC CXX LD NM OBJCOPY
+}
+
+src_compile() {
+ emake \
+ AR="${AR}" \
+ HOSTCC="${BUILD_CC}" \
+ CC="${CC}" LINK="${CC}" \
+ CXX="${CXX}" LINKXX="${CXX}" \
+ LD="${LD}" \
+ NM="${NM}" \
+ OBJCOPY="${OBJCOPY}"
+}
+
+src_install() {
+ default
+ udev_dorules etc/udev/rules.d/*.rules
+}