diff options
author | Mike Frysinger <vapier@gentoo.org> | 2018-01-12 14:14:37 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2018-01-12 14:15:21 -0500 |
commit | 55afc97de108e7cb8c792c3766edddb76f651884 (patch) | |
tree | c65ca545484ffe03791f1550273d09da9f9c3fcc /sys-apps/s390-tools/s390-tools-2.2.0.ebuild | |
parent | sys-apps/s390-tools: move chmem/lsmem to util-linux (diff) | |
download | gentoo-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/s390-tools-2.2.0.ebuild')
-rw-r--r-- | sys-apps/s390-tools/s390-tools-2.2.0.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
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 +} |