app-admin/novell-ndssice: correct rpm_unpack warning

This commit is contained in:
geos_one 2009-12-17 17:10:45 +00:00
parent 5bcc866e13
commit 685114a999
3 changed files with 89 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
17 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-ndssice-8.7.0.1.ebuild:
correct rpm_unpack warning
17 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
novell-ndssice-8.7.0_p1-r6.ebuild:
ICE plugin is only 32bit

View File

@ -1,5 +1,6 @@
DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b
EBUILD novell-ndssice-8.7.0.1.ebuild 3308 RMD160 44e5df53f2002b2b41a4b8ad2e5f64d718ee11d1 SHA1 abd64208ba001cc12ff07f388888bf1de4d9205d SHA256 8c55466a866b0ad0e6b6823e9bfc20244739131cc6ec72c85fa69f8abea738fa
EBUILD novell-ndssice-8.7.0_p1-r5.ebuild 3302 RMD160 8be9c8e584fa607de6d2379decce28966a938d61 SHA1 0899dab3daafb86efe15240719bd7e6af87a5493 SHA256 4960aa2df606aeaad61500724e207d3eee71dba8800107eda5d399e2002f3931
EBUILD novell-ndssice-8.7.0_p1-r6.ebuild 3321 RMD160 28740243c1f1707a3b18f3fee6b3d5341369d703 SHA1 03b1abc4b6f0701747c514013e18628aa037bd54 SHA256 831fd3965f61d5bfb45336dd4320d72c65b227d3e49cdf16b89c6dcb12f28f09
MISC ChangeLog 1905 RMD160 fc9884c6148b3e1024bdbb4b29c7700aca3d4c72 SHA1 ca38f7e98aca95bb095e7583b3d0c0258d73be7e SHA256 cacf38948cfb66311caaac333b651b983c22b1dbe3d05f3cbc6fa4066b70d719
MISC ChangeLog 2020 RMD160 1dd4d2c1e3ec73ddee3257cb04a168016af3de89 SHA1 5d2ad24e6965ad534186fb6e2f1e7333e5a422c6 SHA256 aec1d5f62ae276480971fdb2b0274b3113ae6470b04a6cf3d5fb076ad737d192
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,83 @@
# Copyright 1999-2009 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
MY_PV=$(replace_version_separator 3 '-')
DESCRIPTION="Novell NDS ICE ConsoleOne Snapins"
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="0"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_de linguas_es linguas_fr linguas_it linguas_ja linguas_pt linguas_ru"
DEPEND=""
RDEPEND="virtual/libc
>=virtual/jdk-1.4
>=app-admin/novell-novlc1-1.3.6_p1
net-nds/novell-novlice:8.7
net-nds/novell-ndsbase:8.7
net-nds/novell-novllmgnt:8.7
net-nds/novell-novlxis:8.7"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ../work/Linux/NDSsice-${MY_PV}.i386.rpm
use linguas_de && rpm_unpack ../work/Linux/NDSsice_de-${MY_PV}.i386.rpm
use linguas_es && rpm_unpack ../work/Linux/NDSsice_es-${MY_PV}.i386.rpm
use linguas_fr && rpm_unpack ../work/Linux/NDSsice_fr-${MY_PV}.i386.rpm
use linguas_it && rpm_unpack ../work/Linux/NDSsice_it-${MY_PV}.i386.rpm
use linguas_pt && rpm_unpack ../work/Linux/NDSsice_pt-${MY_PV}.i386.rpm
use linguas_ru && rpm_unpack ../work/Linux/NDSsice_ru-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
java-pkg_jarinto /usr/ConsoleOne/snapins/ice
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/icewiz.jar
if use linguas_de || use linguas_es || use linguas_fr || use linguas_it || use linguas_pt || use linguas_ru ; then
java-pkg_jarinto /usr/ConsoleOne/resources/ice
use linguas_de && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_de.jar
use linguas_es && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_es.jar
use linguas_fr && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_fr.jar
use linguas_it && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_it.jar
use linguas_pt && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_pt.jar
use linguas_ru && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_ru.jar
fi
insinto /usr/ConsoleOne/help
doins -r "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/help/*
insinto /usr/ConsoleOne/bin
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/bin/*
into /usr/ConsoleOne
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*
}
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"
}