stable/branches/experimental/net-misc/novell-ntls/novell-ntls-2.0.1.0_p070214.ebuild
2007-04-04 15:38:22 +00:00

41 lines
876 B
Bash

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Transport Security Layer"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/ttXNAk5nEeg~/patchfiles/ss204_SLAH.tgz"
LICENSE="Novell-eDir-88"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc
>=app-crypt/novell-nici-2.7.0_p002"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/Linux/eDir87x/novell-ntls-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
into /usr
dolib ${WORKDIR}/${PN}-${MY_PV}/usr/lib/*
into /opt/novell
dolib ${WORKDIR}/${PN}-${MY_PV}/opt/novell/lib/*
doenvd "${FILESDIR}"/80novell
}