37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Copyright 1999-2005 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-misc/novell-ndscommon/novell-ndscommon-8.7.3.37.ebuild,v 0.1 2005/11/06 15:17:50 Mario Fetka $
|
|
|
|
inherit eutils rpm
|
|
|
|
MY_PV="${PV/_p/-}"
|
|
DESCRIPTION="Novell Directory User Agent"
|
|
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
|
|
>=net-nds/novell-ndsbase-8.7.3_p37
|
|
!net-misc/novell-ndscommon"
|
|
RESTRICT="nomirror nostrip"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
|
|
cd ${PN}-${MY_PV}
|
|
rpm_unpack ${WORKDIR}/Linux/setup/NDScommon-${MY_PV}.i386.rpm
|
|
}
|
|
|
|
src_compile() { :; }
|
|
|
|
src_install() {
|
|
mkdir -p "${WORKDIR}/${PN}-${MY_PV}"/usr/share
|
|
mv "${WORKDIR}/${PN}-${MY_PV}"/usr/man "${WORKDIR}/${PN}-${MY_PV}"/usr/share
|
|
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
|
|
|
|
}
|
|
|