net-nds/novell-novlsas: multilib support
This commit is contained in:
parent
a942d47aa6
commit
ee98a2888f
@ -2,5 +2,6 @@ AUX 80novell-edir 303 RMD160 64062683170df6b99c1a4c42045a6f912ac5b6c6 SHA1 b3771
|
||||
DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b
|
||||
EBUILD novell-novlsas-8.7.3_p34-r4.ebuild 1625 RMD160 92afcddcfd7fa4c9e1630c20f15063c7966c3510 SHA1 3c56f3785a3fe23a66c86a1f4155d589ccf9656b SHA256 09edd22ada41af1f24522977db5f4938c95be0cd84cdce74952152bd38862728
|
||||
EBUILD novell-novlsas-8.7.3_p34-r5.ebuild 1739 RMD160 1d400f55a45d4f94e63657218b240aac6280d0e5 SHA1 df92920169653be8f1b3a2b22a81613b3caa091c SHA256 dd1e9b40e5e5b9e71b7eb3c818c85fe5dbb16f6aff702250bcc4ab32d63e2126
|
||||
EBUILD novell-novlsas-8.7.3_p34-r6.ebuild 1735 RMD160 ea1003406f9a9b4e07ebd645884f3fc018aa484a SHA1 151879a485654974996d6f04c678b9800fe84685 SHA256 3ab4fd073d26ff23e1d90242cd2f72c3ff8f2ae1feb79bbf8c392150641e456b
|
||||
MISC ChangeLog 1307 RMD160 a1f1b402404b6a9ec2c262893d3388f4830a40c9 SHA1 a896b1b4e3e159d99d3c8a5e2c9528f1b0775ed6 SHA256 5df0059ac42fcc794b3aabcdc59c3db44e23024a474b21a46f85ff92d5e337c7
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
NOVELL_BUILDID="-a_gSRIUOK0~"
|
||||
NOVELL_FILE32="c1_136h-linux.tar.gz"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm java-utils-2 multilib
|
||||
|
||||
MY_PV="${PV/_p/-}"
|
||||
|
||||
DESCRIPTION="Novell SAS Libraries"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}"
|
||||
|
||||
LICENSE="Novell-eDir-87"
|
||||
SLOT="8.7"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!net-nds/novell-novlsas:0
|
||||
!net-nds/novell-novlsas:8.8"
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
>=virtual/jdk-1.4
|
||||
>=app-crypt/novell-nici-2.6.4_p005
|
||||
net-nds/novell-ndsbase:8.7"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||
cd ${PN}-${MY_PV}
|
||||
rpm_unpack "${WORKDIR}"/Linux/NOVLsas-${MY_PV}.i386.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
has_multilib_profile && ABI="x86"
|
||||
|
||||
into /usr
|
||||
dolib "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*.so*
|
||||
java-pkg_jarinto /usr/lib
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*.jar
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
||||
einfo "Please download following file:"
|
||||
einfo " - ${NOVELL_FILE32}"
|
||||
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
|
||||
einfo "and place it in ${DISTDIR}"
|
||||
einfo ""
|
||||
einfo "To get rid of downloading files from ${HOMEPAGE}"
|
||||
einfo "you can create a file /etc/portage/novell.acc"
|
||||
einfo "containing the novell account infos with following commands"
|
||||
einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc"
|
||||
einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc"
|
||||
}
|
Loading…
Reference in New Issue
Block a user