42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# 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}@cdn.novell.com/prot/0HLVzEw7UiA~/ss203_SLAH.tgz"
|
|
LICENSE="Novell-eDir-87"
|
|
SLOT="0"
|
|
KEYWORDS="~x86"
|
|
IUSE="linguas_fr"
|
|
DEPEND=""
|
|
RDEPEND="virtual/libc
|
|
>=app-crypt/novell-nici-2.7.0_p002
|
|
!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/eDir87x/NOVLnmas-${MY_PV}.i386.rpm
|
|
}
|
|
|
|
src_compile() { :; }
|
|
|
|
src_install() {
|
|
into /usr
|
|
dobin ${WORKDIR}/${PN}-${MY_PV}/usr/bin/*
|
|
dosym . /usr/lib/nds-modules/lib
|
|
into /usr/lib/nds-modules
|
|
dolib.so ${WORKDIR}/${PN}-${MY_PV}/usr/lib/nds-modules/*
|
|
rm ${D}/usr/lib/nds-modules/lib
|
|
insinto /usr/lib/nds-schema
|
|
doins ${WORKDIR}/${PN}-${MY_PV}/usr/lib/nds-schema/*
|
|
doman ${WORKDIR}/${PN}-${MY_PV}/usr/share/man/*/*.gz
|
|
use linguas_fr && doman -i18n=fr ${WORKDIR}/${PN}-${MY_PV}/usr/share/man/fr/*/*.gz
|
|
|
|
} |