net-misc/novell-ncp: multilib support

This commit is contained in:
geos_one 2009-01-17 12:24:30 +00:00
parent 7916e3ccd8
commit c43415a6f9
3 changed files with 70 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-misc/novell-ncp
# 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-ncp-1.0.1_p118-r1.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-ncp-1.0.1_p118.ebuild:
correct blocking slot's

View File

@ -2,6 +2,7 @@ AUX 80novell-edir 268 RMD160 d67c5b1235cc2833cb5d13e9083e0cc312e1b55e SHA1 5402e
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-ncp-1.0.1_p110.ebuild 1643 RMD160 c6f689250b1d6b066b9ff87ec7bc5559593191b3 SHA1 1a4df1b3c8ef24ec7cafec9becf467855f309ec1 SHA256 3e43c18db9aedf3b588bceb088bff3ce8e7f3d45cbca4faa907b9d26c7ad60fa
EBUILD novell-ncp-1.0.1_p118-r1.ebuild 1784 RMD160 0520f86e90c4af6c954624f24137093f584909f6 SHA1 1bfdcb9e1aa60915c5ef9e39b9fbd3678b4321af SHA256 128965e531de64661f1326168ff3ec579da12380e9ed727bcd8d25d4177fca4e
EBUILD novell-ncp-1.0.1_p118.ebuild 1682 RMD160 c07da614d7f157284ac15bdc1f0ec33cfcd03a7c SHA1 573a77a1a962211a801a3e1bfce39aecdd982e3d SHA256 3fddbef77476028fe8f37f2856d40f6b792be2cafa2cbf032652ba9f4769cd6d
MISC ChangeLog 1388 RMD160 7c3d7f8585e74646f4f6dab3a37c432211155419 SHA1 3e40e487503caf8ba674eed91e2d20225b6d2ac2 SHA256 f77aba06c4ae9601c13d359c13d83563a14514d3ddceaa8ac63884ca23db25e7
MISC ChangeLog 1495 RMD160 79eea73b7255795e792c8baa52ff32c3b5fe4069 SHA1 d88900c1be17a2ac97d828de74b087f84e121ab2 SHA256 4f6d05c1210b9c6eca47bbd78753007b6b1dcd5cdfe7be5c4995b2c0fbd0e7da
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,63 @@
# 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 multilib
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell NCP Services for Linux"
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-misc/novell-ncp:0
!net-misc/novell-ncpenc:8.8"
RDEPEND="virtual/libc
net-nds/novell-ndscommon:8.7
sys-apps/coreutils"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/${PN}.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)
}
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"
}