summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-06-06 11:57:36 +0200
committerJeroen Roovers <jer@gentoo.org>2019-06-06 12:05:12 +0200
commit0d71262d60a833d086621b4a42be9c094564b38d (patch)
tree6bd657ea9fe02c45532aaba0717f8dd728edc276 /sys-fs/iprutils
parentdev-lang/swig: add ~x64-cygwin keyword (diff)
downloadgentoo-0d71262d60a833d086621b4a42be9c094564b38d.tar.gz
gentoo-0d71262d60a833d086621b4a42be9c094564b38d.tar.bz2
gentoo-0d71262d60a833d086621b4a42be9c094564b38d.zip
sys-fs/iprutils: Version 2.4.18.1
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'sys-fs/iprutils')
-rw-r--r--sys-fs/iprutils/Manifest1
-rw-r--r--sys-fs/iprutils/iprutils-2.4.18.1.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-fs/iprutils/Manifest b/sys-fs/iprutils/Manifest
index 2e4636d28689..1f9bfb772df7 100644
--- a/sys-fs/iprutils/Manifest
+++ b/sys-fs/iprutils/Manifest
@@ -1,4 +1,5 @@
DIST iprutils-2.4.13.1.tar.gz 523921 BLAKE2B 8266477d7fba2493349f7abce283d4d0f640be0aaa367756d6972009da778be913e6996064932c66d84cfd1a98f73c3284ed34719237705b6d3cd5a1a1312a24 SHA512 1ae4b9370ab20c49d035e05dd3571b3e20595c160a3d173ffa2c2bbd2709f67c12ef08b3498ce5e9e6e0c8bf128ebc7d851f0b3c761b6293b3d475ad060148d8
DIST iprutils-2.4.14.1.tar.gz 524534 BLAKE2B 43d62499f2d4dc5f800747e2ea243b31014eaa5fa0c339a84b0c9af6157b65116082080b80e89ff8a3aa70d8ec87846eccc46fefbceb996199e19f77ea8b78e6 SHA512 74ef79332134746f6b9b6890dc04bb42573f154aecbc4314198847342a909a21c0d2982cc3c849b0d1ca191d08c3b1eb5d59a334f75140830cdf91d55438e8a8
DIST iprutils-2.4.17.1.tar.gz 524770 BLAKE2B eb3864a431193ce342810449bde2ac6a4e7a9c352611077b70f93fd3b3ca69c47cbaf7a55ef45b38f99135acc27ebba34b7fbeb8d7f704587ce96e0a8e1f29bb SHA512 d9b257a1e86350ef26e6491d5030ac864a244283697a4ca588af7ee21c2518c631a2bcfc9913783f973025d186feab8ed045b1d4674621a08b401823e9c52d3d
+DIST iprutils-2.4.18.1.tar.gz 524809 BLAKE2B c32b01ada70e67748653b8e346cdecae35f3ac240a7eaa8be0ff70590bc68b8be770bffe2f3131cbd6cbbe75812f12524c0817aa02674cd4643e846724be2891 SHA512 42da77c0fde0a2650368b2f0605d63762389ab394f755f4e4144704e155333a2ad8133731244b8383e9a334517aca45f62487229a27a2e90cf22a10c760aab3d
DIST iprutils-2.4.7.tar.gz 467671 BLAKE2B 8ca3e77f927dcb3cd45b78e1b5e15d7edc67b3fbc8762383e0e9e84ebd42ce74927909aae926762d6bf0378d3b8d8f77cece65bb3ace746f889fbebb7fdcbf43 SHA512 9e6fd37cb72ce1d092b02f1cdfeb9e97962007327f92f4d9dd2a755489dab3a5d51a459d2f256d8453de74935a5cee8f25f71a820d82347ae67aa72a89043a91
diff --git a/sys-fs/iprutils/iprutils-2.4.18.1.ebuild b/sys-fs/iprutils/iprutils-2.4.18.1.ebuild
new file mode 100644
index 000000000000..72914aac6c3f
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.4.18.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools bash-completion-r1 eutils toolchain-funcs
+
+DESCRIPTION="IBM's tools for support of the ipr SCSI controller"
+SRC_URI="mirror://sourceforge/iprdd/${P}.tar.gz"
+HOMEPAGE="https://sourceforge.net/projects/iprdd/"
+
+SLOT="0"
+LICENSE="IBM"
+KEYWORDS="~ppc ~ppc64"
+IUSE="static-libs"
+
+IPRUTILS_DEPEND="
+ >=sys-libs/ncurses-5.4-r5:=
+ >=sys-apps/pciutils-2.1.11-r1
+"
+RDEPEND="
+ ${IPRUTILS_DEPEND}
+ virtual/logger
+ virtual/udev
+"
+DEPEND="
+ ${IPRUTILS_DEPEND}
+ virtual/pkgconfig
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.4.8-tinfo.patch
+ "${FILESDIR}"/${PN}-2.4.11.1-basename.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install () {
+ emake \
+ DESTDIR="${D}" \
+ bashcompdir=$(get_bashcompdir) \
+ install
+
+ mv "${D}"/$(get_bashcompdir)/iprconfig{-bash-completion.sh,} || die
+
+ newinitd "${FILESDIR}"/iprinit-r1 iprinit
+ newinitd "${FILESDIR}"/iprupdate-r1 iprupdate
+ newinitd "${FILESDIR}"/iprdump-r1 iprdump
+
+ prune_libtool_files
+}