net-nds/novell-novlstlog: multilib support

This commit is contained in:
geos_one 2009-01-17 14:07:40 +00:00
parent 7a5f3cb836
commit db83707468
3 changed files with 72 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-nds/novell-novlstlog
# 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-novlstlog-8.7.3_p34-r3.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-novlstlog-8.7.3_p34-r2.ebuild:
correct blocking slot's

View File

@ -2,5 +2,6 @@ AUX 80novell-edir 303 RMD160 64062683170df6b99c1a4c42045a6f912ac5b6c6 SHA1 b3771
DIST eDir_873_linux_full.tar.gz 100502582 RMD160 c7e4ce732a2f1caec45031b4727eff71b0546e1f SHA1 5b14b89766a37cff868143e91619efa82844adb4 SHA256 609abda0346ed77cc510df60172007a5a2e9d1cb6ea70c77a0b1b44c6c9bf507
EBUILD novell-novlstlog-8.7.3_p34-r1.ebuild 1754 RMD160 eea171261e7d2f58959aa112d454ae455ae586c8 SHA1 f18c6b6770674bd3ffb187160a7b359f2d0c8a50 SHA256 f677a5c3529b4aac88e00a7cd72246b11849f3add0674dffee012e1d767b334d
EBUILD novell-novlstlog-8.7.3_p34-r2.ebuild 1808 RMD160 0e99246572a51180dcfd285e1d5cf59b6f78b85a SHA1 a0e76b2c9db81d002a45567a93b35b5f732d6a6a SHA256 a2b922156869dcf3a339d89b81fbd42b5078e91c4e5c1e4a57f28a14f017b501
MISC ChangeLog 994 RMD160 a67e1c69291a0ead019e0c8c3c54ca8d5a358c1b SHA1 c9814b1a24364d81291e23971e2941725b6234c8 SHA256 deca50d9351697462a6c68429b69c5bdb31b908d2a57668be5bbf546710e7b3f
EBUILD novell-novlstlog-8.7.3_p34-r3.ebuild 1910 RMD160 1ef0cfee18b6dd5fb2fd974e9a7e0d4b89583216 SHA1 b44f5ff4c2cc2066de260936429440d2af1009fc SHA256 29fc18c59c52815b0bd468c32143b09779191d7e909ded16a18f7b334758604a
MISC ChangeLog 1106 RMD160 515354d4acc1a908c4f31af6dde99eebf268d0bf SHA1 3ea1739da676d703dd53a1c12b86bef5ecd17bb1 SHA256 86f0917b89aaac4c7e88b78976a633998a79265ee0aa79f529d54897028959c0
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,65 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID="G4YlRnymPtU~"
NOVELL_FILE32="eDir_873_linux_full.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm multilib
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell NDS Status Logger"
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-novlstlog:0
!net-nds/novell-novlstlog:8.8"
RDEPEND="virtual/libc
>=app-crypt/novell-nici-2.6.4_p005
net-nds/novell-ndsbase:8.7
net-nds/novell-ndsserv:8.7"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/Linux/setup/NOVLstlog-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
into /usr
dosym . /usr/$(get_libdir)/nds-modules/$(get_libdir)
into /usr/$(get_libdir)/nds-modules
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/*
rm "${D}"/usr/$(get_libdir)/nds-modules/$(get_libdir)
insinto /usr/lib/nds-schema
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-schema/*
}
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"
}