34 lines
926 B
Bash
34 lines
926 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 NMAS Client for Linux"
|
|
HOMEPAGE="http://www.novell.com"
|
|
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
|
|
LICENSE="Novell-NCL"
|
|
SLOT="0"
|
|
KEYWORDS="~x86"
|
|
IUSE="gtk"
|
|
DEPEND=""
|
|
RDEPEND="virtual/libc
|
|
!net-misc/novell-nmasclient"
|
|
RESTRICT="nomirror nostrip"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
|
|
cd ${PN}-${MY_PV}
|
|
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i386/${PN}-${MY_PV}.i386.rpm
|
|
}
|
|
|
|
src_compile() { :; }
|
|
|
|
src_install() {
|
|
into /opt/novell/nmas/client/
|
|
dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/bin/*
|
|
dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/nmas/client/lib/*
|
|
doenvd "${FILESDIR}"/80novell-nmasclient
|
|
} |