stable/branches/experimental/net-libs/novell-ndsslp/novell-ndsslp-8.8.1_p1.ebuild
2007-04-04 15:38:22 +00:00

36 lines
1.0 KiB
Bash

# 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 Service Location Protokol"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/cK697ew-SfQ~/20060526_0800_Linux_88-SP1_FINAL.tar.gz"
LICENSE="Novell-eDir-88"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/eDirectory/setup/novell-NDSslp-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
rm -rf "${WORKDIR}/${PN}-${MY_PV}"/etc/init.d || die "rm -rf etc/init.d"
mv "${WORKDIR}/${PN}-${MY_PV}"/etc "${D}"/ || die "mv etc"
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
mv "${WORKDIR}/${PN}-${MY_PV}"/var "${D}"/ || die "mv var"
exeinto /etc/init.d
newexe ${FILESDIR}/slpuasa87.initd slpuasa
}