experimental/trunk/novell4gentoo/app-crypt/novell-npkiapi/novell-npkiapi-2.7.7_p2.ebuild

40 lines
874 B
Bash

# Copyright 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 Public Key Infrastructure Services"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://supportfiles.novell.com/support/pub/allupdates/secupd8.tgz"
LICENSE="Novell-eDir-87"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc
>=app-crypt/novell-nici-2.6.4_p005
>=app-crypt/novell-npkit-2.7.7_p2
>=net-nds/novell-nldapsdk-8.7.3_p34
>=net-nds/novell-ndsbase-8.7.3_p37
!net-misc/novell-npkiapi"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/secupd8/unix/Linux/NOVLpkia-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
}