net-nds/novell-nldapsdk: add multilib support
This commit is contained in:
parent
b579a80ebf
commit
549b337d13
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
18 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
novell-nldapsdk-8.8.5.2.6.ebuild:
|
||||||
|
add multilib support
|
||||||
|
|
||||||
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||||
+novell-nldapsdk-8.8.5.2.6.ebuild:
|
+novell-nldapsdk-8.8.5.2.6.ebuild:
|
||||||
first round of edir 8.8 ebuild mods
|
first round of edir 8.8 ebuild mods
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7
|
DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7
|
||||||
DIST edir885_Patch2.tar.gz 306609536 RMD160 4483666615f90ba16c6996e562c4dc182c3f6f6c SHA1 b9b8b9d3659b70738674f356f0691ab7545bc7c2 SHA256 12153f6a17d69bdf3fc968c067db9bcdd284b6910738ebbdde232f5e204c11bc
|
DIST edir885_Patch2.tar.gz 306609536 RMD160 4483666615f90ba16c6996e562c4dc182c3f6f6c SHA1 b9b8b9d3659b70738674f356f0691ab7545bc7c2 SHA256 12153f6a17d69bdf3fc968c067db9bcdd284b6910738ebbdde232f5e204c11bc
|
||||||
EBUILD novell-nldapsdk-8.7.3.10.53.ebuild 1605 RMD160 17b96bf8c1e83919949f26e631d2d0b6361b87c2 SHA1 223eebcd3ebdb5c9a2a520709c62dd6c7eb61ee7 SHA256 28c2318cb6756e446fa57dcd0bef1769016612391804de7749ea3b84c5f47231
|
EBUILD novell-nldapsdk-8.7.3.10.53.ebuild 1605 RMD160 17b96bf8c1e83919949f26e631d2d0b6361b87c2 SHA1 223eebcd3ebdb5c9a2a520709c62dd6c7eb61ee7 SHA256 28c2318cb6756e446fa57dcd0bef1769016612391804de7749ea3b84c5f47231
|
||||||
EBUILD novell-nldapsdk-8.8.5.2.6.ebuild 2226 RMD160 99f00e78470cf4573c3816c5b84208587801435c SHA1 3dacb4e886fcfa3764fca22207186bc8dfccec90 SHA256 ea85f90682a545906993fe8e1af7f8990ff20f06682140a6e13df7da151fbbbd
|
EBUILD novell-nldapsdk-8.8.5.2.6.ebuild 2726 RMD160 ef0f0a6ad18da6ef70d8b8d3cb17784efbe34816 SHA1 e5543270691be3298eb107dc0c0621d1f77bc4e7 SHA256 a97a546d5bd914bbb1d6155d651c599a01793ac745857d5bfce467c574050120
|
||||||
MISC ChangeLog 1887 RMD160 746e844c53827e201a1806d01bdbb58ef45dcbed SHA1 697194a1517fe44f5a47126455631bb3e35be055 SHA256 3815cafd44948e9245a80dbb80607eaadb6067b20bcff5b2c3ac74457208dff5
|
MISC ChangeLog 1998 RMD160 e550bd47fbe37fa741aab953e3138d6f220339eb SHA1 9e693baaec2d546bf0f208072a9a4721f903870d SHA256 b63607b65a78e88ad05d037b86979f9da162e27e0fe2e2482eb490557659f9e2
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
@ -4,8 +4,9 @@
|
|||||||
|
|
||||||
EAPI="1"
|
EAPI="1"
|
||||||
|
|
||||||
NOVELL_BUILDID="T2wcCZC5kh4~"
|
NOVELL_BUILDID32="T2wcCZC5kh4~"
|
||||||
NOVELL_FILE32="patchfiles/edir885_Patch2.tar.gz"
|
NOVELL_FILE32="patchfiles/edir885_Patch2.tar.gz"
|
||||||
|
NOVELL_BUILDID64="T2wcCZC5kh4~"
|
||||||
NOVELL_FILE64="patchfiles/edir885_Patch2.tar.gz"
|
NOVELL_FILE64="patchfiles/edir885_Patch2.tar.gz"
|
||||||
RESTRICT="mirror strip"
|
RESTRICT="mirror strip"
|
||||||
|
|
||||||
@ -15,8 +16,9 @@ MY_PV=$(replace_version_separator 4 '-')
|
|||||||
|
|
||||||
DESCRIPTION="Novell LDAP SDK Libraries"
|
DESCRIPTION="Novell LDAP SDK Libraries"
|
||||||
HOMEPAGE="http://www.novell.com"
|
HOMEPAGE="http://www.novell.com"
|
||||||
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} )
|
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID32}/${NOVELL_FILE32} )
|
||||||
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )"
|
multilib? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID32}/${NOVELL_FILE32} )
|
||||||
|
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID64}/${NOVELL_FILE64} )"
|
||||||
|
|
||||||
LICENSE="Novell-eDir-87"
|
LICENSE="Novell-eDir-87"
|
||||||
SLOT="8.8"
|
SLOT="8.8"
|
||||||
@ -44,6 +46,13 @@ src_unpack() {
|
|||||||
fi
|
fi
|
||||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||||
cd ${PN}-${MY_PV}
|
cd ${PN}-${MY_PV}
|
||||||
|
if has_multilib_profile
|
||||||
|
then
|
||||||
|
march=i586
|
||||||
|
mlib=lib
|
||||||
|
mdir=Linux
|
||||||
|
rpm_unpack ../work/edir8852/${mdir}/novell-NLDAPsdk.${march}.rpm
|
||||||
|
fi
|
||||||
rpm_unpack ../work/edir8852/${ndir}/novell-NLDAPsdk.${narch}.rpm
|
rpm_unpack ../work/edir8852/${ndir}/novell-NLDAPsdk.${narch}.rpm
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,14 +61,30 @@ src_compile() { :; }
|
|||||||
src_install() {
|
src_install() {
|
||||||
into /opt/novell/eDirectory
|
into /opt/novell/eDirectory
|
||||||
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.so*
|
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.so*
|
||||||
|
if has_multilib_profile
|
||||||
|
then
|
||||||
|
ABI="x86" dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${mlib}/*.so*
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_nofetch() {
|
pkg_nofetch() {
|
||||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
||||||
einfo "Please download following file:"
|
einfo "Please download following file(s):"
|
||||||
|
if use x86
|
||||||
|
then
|
||||||
einfo " - ${NOVELL_FILE32}"
|
einfo " - ${NOVELL_FILE32}"
|
||||||
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
|
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID32}"
|
||||||
einfo "and place it in ${DISTDIR}"
|
elif use amd64
|
||||||
|
then
|
||||||
|
einfo " - ${NOVELL_FILE64}"
|
||||||
|
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID64}"
|
||||||
|
if use multilib
|
||||||
|
then
|
||||||
|
einfo " - ${NOVELL_FILE32}"
|
||||||
|
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID32}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
einfo "and place them in ${DISTDIR}"
|
||||||
einfo ""
|
einfo ""
|
||||||
einfo "To get rid of downloading files from ${HOMEPAGE}"
|
einfo "To get rid of downloading files from ${HOMEPAGE}"
|
||||||
einfo "you can create a file /etc/portage/novell.acc"
|
einfo "you can create a file /etc/portage/novell.acc"
|
||||||
|
Loading…
Reference in New Issue
Block a user