summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/iprutils/iprutils-2.2.13.ebuild')
-rw-r--r--sys-fs/iprutils/iprutils-2.2.13.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-fs/iprutils/iprutils-2.2.13.ebuild b/sys-fs/iprutils/iprutils-2.2.13.ebuild
new file mode 100644
index 000000000000..3d34d15d9477
--- /dev/null
+++ b/sys-fs/iprutils/iprutils-2.2.13.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/iprutils-2.2.13.ebuild,v 1.1 2009/04/03 13:44:25 ranger Exp $
+
+inherit eutils
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="IBM's tools for support of the ipr SCSI controller"
+SRC_URI="mirror://sourceforge/iprdd/${P}-src.tgz"
+HOMEPAGE="http://sourceforge.net/projects/iprdd/"
+
+SLOT="0"
+LICENSE="IPL-1"
+KEYWORDS="~ppc ~ppc64"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=sys-libs/ncurses-5.4-r5
+ >=sys-apps/pciutils-2.1.11-r1
+ >=sys-fs/sysfsutils-1.3.0
+ || ( >=sys-fs/udev-096 sys-apps/hotplug )"
+
+RDEPEND="${DEPEND}
+ virtual/logger"
+
+src_install () {
+ make INSTALL_MOD_PATH="${D}" install || die
+ dodoc ChangeLog LICENSE
+
+ newinitd "${FILESDIR}"/iprinit iprinit
+ newinitd "${FILESDIR}"/iprupdate iprupdate
+ newinitd "${FILESDIR}"/iprdump iprdump
+}
+
+pkg_postinst() {
+ einfo "This package also contains several init.d files. "
+ einfo "You should add them to your default runlevels as follows:"
+ einfo "rc-update add iprinit default"
+ einfo "rc-update add iprdump default"
+ einfo "rc-update add iprupdate default"
+ ebeep 5
+}