52 lines
1.3 KiB
Bash
52 lines
1.3 KiB
Bash
# Copyrig4#ht 1999-2005 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-misc/novell-ndsserv/novell-ndsserv-8.7.3.7.65.ebuild,v 0.1 2005/11/06 15:17:50 Mario Fetka $
|
|
|
|
inherit eutils rpm
|
|
|
|
MY_PV="${PV/_p/-}"
|
|
DESCRIPTION="Novell NDS Server and DS Utilities"
|
|
HOMEPAGE="http://www.novell.com"
|
|
SRC_URI="http://supportfiles.novell.com/support/pub/updates/edir8738.tgz"
|
|
LICENSE="Novell-eDir-87"
|
|
SLOT="0"
|
|
KEYWORDS="~x86"
|
|
IUSE=""
|
|
DEPEND=""
|
|
RDEPEND="virtual/libc
|
|
>=net-misc/novell-ncp-1.0.1_p49
|
|
>=net-nds/novell-ndsbase-8.7.3.8_p47
|
|
>=net-nds/novell-ndscommon-8.7.3_p37
|
|
>=net-nds/novell-ndsmasv-8.7.3.7_p35
|
|
>=net-nds/novell-nldapsdk-8.7.3.8_p45
|
|
>=app-crypt/novell-npkiapi-2.7.0_p6
|
|
>=app-crypt/novell-npkit-2.7.0_p6
|
|
!net-misc/novell-ndsserv"
|
|
RESTRICT="nomirror nostrip"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
|
|
cd ${PN}-${MY_PV}
|
|
rpm_unpack ${WORKDIR}/edir8738/Linux/NDSserv-${MY_PV}.i386.rpm
|
|
}
|
|
|
|
src_compile() { :; }
|
|
|
|
src_install() {
|
|
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
|
|
|
|
insinto /etc/conf.d
|
|
newins ${FILESDIR}/ndsd87.confd ndsd
|
|
exeinto /etc/init.d
|
|
newexe ${FILESDIR}/ndsd87.initd ndsd
|
|
exeinto /etc/init.d
|
|
newexe ${FILESDIR}/nldap87.initd nldap
|
|
|
|
}
|
|
|
|
pkg_postinst(){
|
|
/usr/bin/ether
|
|
}
|
|
|