stable/branches/experimental/app-crypt/novell-npkiapi/novell-npkiapi-3.1.1_p1.ebuild

44 lines
1015 B
Bash
Raw Normal View History

# Copyright 1999-2006 Gentoo Foundation
2006-08-13 09:57:20 +02:00
# Distributed under the terms of the GNU General Public License v2
# $Header: $
2006-08-13 09:57:20 +02:00
inherit eutils rpm
MY_PV="${PV/_p/-}"
2006-08-13 09:57:20 +02:00
DESCRIPTION="Novell Public Key Infrastructure Services"
HOMEPAGE="http://www.novell.com"
2006-08-13 09:57:20 +02:00
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/cK697ew-SfQ~/20060526_0800_Linux_88-SP1_FINAL.tar.gz"
2006-08-13 09:57:20 +02:00
LICENSE="Novell-eDir-88"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
2006-08-13 09:57:20 +02:00
DEPEND=""
2006-08-13 09:57:20 +02:00
RDEPEND="virtual/libc
>=app-crypt/novell-nici-2.7.0_p001
>=app-crypt/novell-npkit-3.1.1_p1
>=net-nds/novell-ndsbase-8.8.1_p7
>=net-nds/novell-nldapsdk-8.8.1_p7
sys-libs/libstdc++-v3
sys-devel/gcc"
2006-08-13 09:57:20 +02:00
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/eDirectory/setup/novell-npkiapi-${MY_PV}.i386.rpm
2006-08-13 09:57:20 +02:00
}
src_compile() { :; }
src_install() {
mv "${WORKDIR}/${PN}-${MY_PV}"/opt "${D}"/ || die "mv opt"
insinto /etc/env.d
doins "${FILESDIR}"/80novell-edir
}