stable/branches/experimental/net-nds/novell-ndsserv/novell-ndsserv-8.8.1.1_p1.ebuild

59 lines
1.3 KiB
Bash
Raw Normal View History

2007-04-04 18:14:50 +02:00
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell NDS Server and Utilities"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://supportfiles.novell.com/support/pub/updates/edir881ftf_1.tgz"
LICENSE="Novell-eDir-88"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc
>=app-crypt/novell-nici-2.7.0_p002
>=net-misc/novell-ntls-2.0.0.0_p050810
>=net-nds/novell-ndsbase-8.8.1_p7
>=net-nds/novell-novllmgnt-8.8.1_p7
>=sys-libs/ncurses-5.0
sys-libs/libstdc++-v3
sys-devel/gcc"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/881ftf1/linux/novell-NDSserv-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
mv "${WORKDIR}/${PN}-${MY_PV}"/etc "${D}"/ || die "mv etc"
mv "${WORKDIR}/${PN}-${MY_PV}"/opt "${D}"/ || die "mv opt"
insinto /etc/env.d
doins "${FILESDIR}"/80novell-edir
insinto /etc/conf.d
newins ${FILESDIR}/ndsd88.confd ndsd
exeinto /etc/init.d
newexe ${FILESDIR}/ndsd88.initd ndsd
exeinto /etc/init.d
newexe ${FILESDIR}/nldap88.initd nldap
keepdir /var/opt/novell/eDirectory
}
pkg_postinst(){
/opt/novell/eDirectory/bin/ether
}