net-nds/novell-ndsbase: multilib support

This commit is contained in:
geos_one 2009-01-17 03:46:44 +00:00
parent c1ae7c60e5
commit 660eb162a7
3 changed files with 82 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-nds/novell-ndsbase
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
17 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-ndsbase-8.7.3.10_p75-r1.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-ndsbase-8.7.3.10_p75.ebuild:
correct blocking slot's

View File

@ -2,6 +2,7 @@ AUX 80novell-edir 303 RMD160 64062683170df6b99c1a4c42045a6f912ac5b6c6 SHA1 b3771
DIST edir87310_ftf1.tar.gz 254793819 RMD160 7631a2e782207848c8e76facb2d20f34e0477a40 SHA1 0d5109f3b110edf68385abe7d45adb9405566df9 SHA256 81bc6bf3abab9edd4792cf0ab5ea523dfca6f44b2627e20538db2977bb884c14
DIST edir87310b.tar.gz 254792877 RMD160 0b75eb50013f7c87c815a37d45786650d2f42bef SHA1 d976b29d6900a3ee9506e08abe783e4a9bf07b16 SHA256 e01297b4929c666ef2c5969b8a3098182ce96575ddf0a816a27451ece612aba6
EBUILD novell-ndsbase-8.7.3.10_p67.ebuild 2400 RMD160 d7860c86d742e1e4843eadc39d0d1a1e90495c67 SHA1 e68ce87fc0a81585f85bebb8ba33bc3d6c76acef SHA256 c30f498cac1afc2124b25fab18c1d9d6f98c318d71029e81fe94f26f425d0f4c
EBUILD novell-ndsbase-8.7.3.10_p75-r1.ebuild 2536 RMD160 8d0b8ddaf7323822fb4e68b4027d981ee5839807 SHA1 b6e59bbd58adeb26b751b7454a63c2c35674bbb4 SHA256 635ce396faa26e6c18e725ac3bd19ae61654873e88ce85feba36d9a1207e05f3
EBUILD novell-ndsbase-8.7.3.10_p75.ebuild 2475 RMD160 93056e7fa1fa5e1b18dcb7c928a2aafc92f9494b SHA1 afa118dedbffd435fa67734552f5a772bb6cd7d5 SHA256 1a04fb4b8d0c77ca711660db5278ba74a6b46313b61add8832770e5c46587432
MISC ChangeLog 2292 RMD160 b8444a9fed11a3dfb934bd029fe66191949487a4 SHA1 874a2ee95f9b09d022498352ecb56a52da6feb3a SHA256 7210654c2bb60d381e06e3cbf68517eed0905be37ed86cfe221ac54cc4bdce40
MISC ChangeLog 2405 RMD160 b7caa559e598509c9aec85e298bb07708e040112 SHA1 14bbec29827641197904851dd191f4ad60ef57c8 SHA256 98cfc5e22b016e41bc407d64dae895b5f10da924a900947e208490737d949adf
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,75 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID="vPAcSRN8t6o~"
NOVELL_FILE32="patchfiles/edir87310_ftf1.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm java-utils-2 multilib
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Directory User Agent"
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="linguas_fr linguas_fr_FR linguas_fr_FR linguas_ja linguas_ja_JP unicode multilib"
DEPEND="!net-nds/novell-ndsbase:0
!net-nds/novell-ndsbase:8.8"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
>=app-crypt/novell-nici-2.6.4_p005"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NDSbase.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
for x in fr_FR ja_JP
do
if use linguas_${x}
then
cp "${WORKDIR}"/${PN}-${MY_PV}/usr/share/locale/${x}/LC_MESSAGES/*.mo \
"${WORKDIR}"/${PN}-${MY_PV}/usr/share/locale/${x}/
domo "${WORKDIR}"/${PN}-${MY_PV}/usr/share/locale/${x}/*.mo
fi
done
use unicode && cp "${WORKDIR}"/${PN}-${MY_PV}/usr/share/locale/fr_FR.UTF-8/LC_MESSAGES/*.mo \
"${WORKDIR}"/${PN}-${MY_PV}/usr/share/locale/fr_FR.UTF-8/
use unicode && domo "${WORKDIR}"/${PN}-${MY_PV}/usr/share/locale/fr_FR.UTF-8/*.mo
dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/*
dolib "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*.so*
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*.jar
doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.gz
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr/*/*.gz
use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/usr/man/ja/*/*.gz
}
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"
}