diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-06-06 11:57:36 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-06-06 12:05:12 +0200 |
commit | 0d71262d60a833d086621b4a42be9c094564b38d (patch) | |
tree | 6bd657ea9fe02c45532aaba0717f8dd728edc276 /sys-fs/iprutils/iprutils-2.4.18.1.ebuild | |
parent | dev-lang/swig: add ~x64-cygwin keyword (diff) | |
download | gentoo-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/iprutils-2.4.18.1.ebuild')
-rw-r--r-- | sys-fs/iprutils/iprutils-2.4.18.1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
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 +} |