stable/trunk/novell4gentoo/net-nds/novell-nldapbase/novell-nldapbase-8.8.1_p7.ebuild
2006-08-13 07:57:20 +00:00

36 lines
1007 B
Bash

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/novell-nldapbase/novell-nldapbase-8.8.1.ebuild,v 0.1 2005/11/06 15:17:50 Mario Fetka $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell LDAP Tools and Libraries"
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
>=net-nds/novell-nldapsdk-8.8.1_p7"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/eDirectory/setup/novell-NLDAPbase-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
mv "${WORKDIR}/${PN}-${MY_PV}"/opt "${D}"/ || die "mv opt"
insinto /etc/env.d
doins "${FILESDIR}"/80novell-edir
}