summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/iprutils/ChangeLog8
-rw-r--r--sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch14
-rw-r--r--sys-fs/iprutils/iprutils-2.4.8.ebuild46
3 files changed, 67 insertions, 1 deletions
diff --git a/sys-fs/iprutils/ChangeLog b/sys-fs/iprutils/ChangeLog
index 89f37833d3af..33648b96b8cd 100644
--- a/sys-fs/iprutils/ChangeLog
+++ b/sys-fs/iprutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/iprutils
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/ChangeLog,v 1.43 2015/06/04 17:17:16 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/ChangeLog,v 1.44 2015/06/20 07:02:02 jer Exp $
+
+*iprutils-2.4.8 (20 Jun 2015)
+
+ 20 Jun 2015; Jeroen Roovers <jer@gentoo.org> +iprutils-2.4.8.ebuild,
+ +files/iprutils-2.4.8-tinfo.patch:
+ Version bump.
04 Jun 2015; Jeroen Roovers <jer@gentoo.org> iprutils-2.4.7.ebuild,
+files/iprdump-r1, +files/iprinit-r1, +files/iprupdate-r1:
diff --git a/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch b/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch
new file mode 100644
index 000000000000..29930b76387e
--- /dev/null
+++ b/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch
@@ -0,0 +1,14 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -51,7 +51,10 @@
+
+ save_LIBS="$LIBS"
+ AC_CHECK_LIB([ncurses], [curses_version], [],
+- [AC_ERROR("libncurses not found.")])
++ AC_CHECK_LIB([tinfo], [curses_version], [],
++ [AC_ERROR("libncurses not found.")]))
++AC_CHECK_LIB([ncurses], [wnoutrefresh], [],
++ [AC_ERROR("libncurses not found.")])
+ AC_CHECK_LIB([form], [free_form], [], [AC_ERROR("libform not found.")])
+ AC_CHECK_LIB([m], [matherr], [], [AC_ERROR("libm not found.")])
+ AC_CHECK_LIB([menu], [new_menu], [], [AC_ERROR("libmenu not found.")])
diff --git a/sys-fs/iprutils/iprutils-2.4.8.ebuild b/sys-fs/iprutils/iprutils-2.4.8.ebuild
new file mode 100644
index 000000000000..7726f73dce81
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.4.8.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/iprutils-2.4.8.ebuild,v 1.1 2015/06/20 07:02:02 jer Exp $
+
+EAPI=5
+
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="IBM's tools for support of the ipr SCSI controller"
+SRC_URI="mirror://sourceforge/iprdd/${P}.tar.gz"
+HOMEPAGE="http://sourceforge.net/projects/iprdd/"
+
+SLOT="0"
+LICENSE="IBM"
+KEYWORDS="~ppc ~ppc64"
+IUSE="static-libs"
+
+DEPEND="
+ >=sys-libs/ncurses-5.4-r5
+ >=sys-apps/pciutils-2.1.11-r1
+ virtual/udev
+"
+RDEPEND="
+ ${DEPEND}
+ virtual/logger
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.4.8-tinfo.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install () {
+ default
+
+ newinitd "${FILESDIR}"/iprinit-r1 iprinit
+ newinitd "${FILESDIR}"/iprupdate-r1 iprupdate
+ newinitd "${FILESDIR}"/iprdump-r1 iprdump
+
+ prune_libtool_files
+}