2007-08-02 17:09:55 +02:00
|
|
|
# Copyright 1999-2007 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
inherit eutils rpm
|
|
|
|
|
|
|
|
MY_PV="${PV/_p/-}"
|
|
|
|
MY_P="${PV/_p*/}"
|
|
|
|
|
|
|
|
DESCRIPTION="Novell XPLAT Libraries"
|
|
|
|
HOMEPAGE="http://www.novell.com"
|
2007-08-02 22:17:08 +02:00
|
|
|
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso
|
|
|
|
http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso"
|
2007-08-02 17:09:55 +02:00
|
|
|
|
|
|
|
LICENSE="Novell-NCL"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~x86"
|
|
|
|
IUSE="gtk"
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
|
|
|
|
RDEPEND="virtual/libc
|
2007-08-02 22:17:08 +02:00
|
|
|
>=net-nds/novell-xtier-xplat-3.1.5_p37"
|
2007-08-02 17:09:55 +02:00
|
|
|
|
2007-08-02 22:17:08 +02:00
|
|
|
RESTRICT="nomirror strip"
|
2007-08-02 17:09:55 +02:00
|
|
|
|
|
|
|
src_unpack() {
|
2007-08-02 22:17:08 +02:00
|
|
|
cd ${WORKDIR}
|
|
|
|
7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso
|
|
|
|
# 7z x ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso
|
|
|
|
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
|
|
|
|
cd ${PN}-${MY_PV}
|
|
|
|
rpm_unpack ${WORKDIR}/suse/i586/${PN}-${MY_PV}.i586.rpm
|
2007-08-02 17:09:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() { :; }
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
into /opt/novell
|
|
|
|
dolib.so "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/lib/*
|
|
|
|
for lib in cal cln clx loc ncp net
|
|
|
|
do
|
|
|
|
dosym lib${lib}lnx.so.${MY_P} /opt/novell/lib/lib${lib}lnx.so.1
|
|
|
|
dosym lib${lib}lnx.so.${MY_P} /opt/novell/lib/lib${lib}lnx.so
|
|
|
|
done
|
|
|
|
dodoc "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/packages/${PN}/*
|
|
|
|
|
|
|
|
doenvd "${FILESDIR}"/80novell
|
|
|
|
}
|