stable/branches/experimental/sys-auth/novell-nmas/novell-nmas-2.3.0_p20031205.ebuild

44 lines
1.6 KiB
Bash
Raw Normal View History

# Copyrig4#ht 1999-2006 Gentoo Foundation
2006-08-09 01:20:17 +02:00
# Distributed under the terms of the GNU General Public License v2
# $Header: $
2006-08-09 01:20:17 +02:00
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell modular Authetication Services"
HOMEPAGE="http://www.novell.com"
2006-08-09 01:20:17 +02:00
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/G4YlRnymPtU~/eDir_873_linux_full.tar.gz"
2006-08-13 09:57:20 +02:00
LICENSE="Novell-eDir-87"
2006-08-09 01:20:17 +02:00
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc
>=app-crypt/novell-nici-2.6.4_p005
!net-misc/novell-nmas"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/Linux/setup/NOVLnmas-${MY_PV}.i386.rpm
2006-08-09 01:20:17 +02:00
}
src_compile() { :; }
src_install() {
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
ln -s libnmas.so.2.3.0 "${D}"/usr/lib/nds-modules/libnmas.so
ln -s libnmas.so.2.3.0 "${D}"/usr/lib/nds-modules/libnmas.so.2
ln -s libnmas.so.2.3.0 "${D}"/usr/lib/nds-modules/libnmas.so.2.3
ln -s libsasl.so.2.3.0 "${D}"/usr/lib/nds-modules/libsasl.so
ln -s libsasl.so.2.3.0 "${D}"/usr/lib/nds-modules/libsasl.so.2
ln -s libsasl.so.2.3.0 "${D}"/usr/lib/nds-modules/libsasl.so.2.3
ln -s libnmasldap.so.2.3.0 "${D}"/usr/lib/nds-modules/libnmasldap.so
ln -s libnmasldap.so.2.3.0 "${D}"/usr/lib/nds-modules/libnmasldap.so.2
ln -s libnmasldap.so.2.3.0 "${D}"/usr/lib/nds-modules/libnmasldap.so.2.3
ln -s libspmdclnt.so.2.3.0 "${D}"/usr/lib/nds-modules/libspmdclnt.so
ln -s libspmdclnt.so.2.3.0 "${D}"/usr/lib/nds-modules/libspmdclnt.so.2
ln -s libspmdclnt.so.2.3.0 "${D}"/usr/lib/nds-modules/libspmdclnt.so.2.3
}