blob: fedf4ca232892c4b856fcda5d7b8358005594e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/iprutils/iprutils-2.0.15.8.ebuild,v 1.1 2006/02/25 19:16:39 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-apps/hotplug"
src_install () {
make INSTALL_MOD_PATH=${D} install || die
dodoc ChangeLog LICENSE
dodir /etc/init.d
exeinto /etc/init.d
newexe ${FILESDIR}/iprinit iprinit
newexe ${FILESDIR}/iprupdate iprupdate
newexe ${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
}
|