# Copyrig4#ht 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 modular Authetication Services" HOMEPAGE="http://www.novell.com" SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/G4YlRnymPtU~/eDir_873_linux_full.tar.gz" LICENSE="Novell-eDir-87" 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 } 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 }