diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-03-25 20:29:17 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-03-25 20:29:17 +0000 |
commit | 3c475ba6aceda7f3f702f5191e7d668761af383f (patch) | |
tree | 52ab396665c99b33a5b402d675bb0e053af2c5bf /dev-libs/bglibs | |
parent | 2.6.5-r1: (diff) | |
download | historical-3c475ba6aceda7f3f702f5191e7d668761af383f.tar.gz historical-3c475ba6aceda7f3f702f5191e7d668761af383f.tar.bz2 historical-3c475ba6aceda7f3f702f5191e7d668761af383f.zip |
Bug #300804: fix compat symlinks for multilib.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/bglibs')
-rw-r--r-- | dev-libs/bglibs/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/bglibs/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/bglibs/bglibs-1.106-r1.ebuild | 77 |
3 files changed, 86 insertions, 2 deletions
diff --git a/dev-libs/bglibs/ChangeLog b/dev-libs/bglibs/ChangeLog index fd2b0a44c1c5..3590b506241c 100644 --- a/dev-libs/bglibs/ChangeLog +++ b/dev-libs/bglibs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/bglibs # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/bglibs/ChangeLog,v 1.50 2010/01/13 08:12:08 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/bglibs/ChangeLog,v 1.51 2010/03/25 20:29:17 robbat2 Exp $ + +*bglibs-1.106-r1 (25 Mar 2010) + + 25 Mar 2010; Robin H. Johnson <robbat2@gentoo.org> + +bglibs-1.106-r1.ebuild: + Bug #300804: fix compat symlinks for multilib. *bglibs-1.106 (13 Jan 2010) diff --git a/dev-libs/bglibs/Manifest b/dev-libs/bglibs/Manifest index d9ca1eadb509..cb1bf41af27d 100644 --- a/dev-libs/bglibs/Manifest +++ b/dev-libs/bglibs/Manifest @@ -5,6 +5,7 @@ DIST bglibs-1.104.tar.gz 442643 RMD160 9df66f29035622e4b1bb7b665e4641e5a78e54a7 DIST bglibs-1.106.tar.gz 481564 RMD160 d3ac009a0b9196701ff90b6cddbd58596ab480a9 SHA1 5f1914299c0f91a3d5c83bf6c8c1d0b824ffe624 SHA256 5c8ae51c2d88e58ff2fccc32d3000e88054d87fd69b6bfa6d0f70528e8538df0 EBUILD bglibs-1.041.ebuild 1328 RMD160 867565b2853920d8830d57aaf068bd483aa745dd SHA1 f63a8da4e78c2db48536a827e7f9e872cd561d24 SHA256 bf7935a069441e723ce1b5b72776c4ed04b3931d3837041189f86b6b6c843a80 EBUILD bglibs-1.104.ebuild 1736 RMD160 d8c73c8509146797b80cbab530f5082b1922c257 SHA1 1cdc2e81b05bf590c767059222be86ad0ad0d272 SHA256 159306e3b51dc3c21220abd198664ffd0a297e865581ae4201e639e04c7c34d1 +EBUILD bglibs-1.106-r1.ebuild 2423 RMD160 cd0e930ec4cf8b3684cdcd207d670dbcbf7bef36 SHA1 d66cd490eb333adf4347b68ad380c72576774e43 SHA256 be2efadfa6f2edd4e816bae2ed76a565d85ca1d3125f97d9194f739915db9d94 EBUILD bglibs-1.106.ebuild 2285 RMD160 11610863a4bbb3315a7dbd5a5af588d852ed2c3b SHA1 9e68f6ea06605c1794831c2238ae5d7045e9612c SHA256 af4751629b5e81a396d1c447904a0e89e371f565f9d79188f47183e9456e3d8b -MISC ChangeLog 6423 RMD160 bdc9156a96d5a3c7af8ca9495cae8bf1cf8359ca SHA1 0d9f9d25c69294c0875afe14fc439cfc0d2e7dc7 SHA256 ebefe9d480d5793a897bf41d0d1214b0201de821ea801c6e45aa88e5911d46db +MISC ChangeLog 6585 RMD160 27d31c280cc5d7ea6356dde17aa21f2424e6e4f1 SHA1 ecdec889cf7bec6139058e4e01bf0e6c8ff47d5e SHA256 9170a06fe8c0a41973512d4809fcbd1f5243c872ed10ab849a731931fb7cb833 MISC metadata.xml 279 RMD160 f84566b5a463b59cc5ddd8a2210a54de9492ed2f SHA1 98caf044b8fce3f5ff202c7f7b71f0dcb9d51947 SHA256 785db7b7f8e4f9a526dc574ce2aa10024cc83af170f38ec9af9f56c23fc15543 diff --git a/dev-libs/bglibs/bglibs-1.106-r1.ebuild b/dev-libs/bglibs/bglibs-1.106-r1.ebuild new file mode 100644 index 000000000000..88bd6704af18 --- /dev/null +++ b/dev-libs/bglibs/bglibs-1.106-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/bglibs/bglibs-1.106-r1.ebuild,v 1.1 2010/03/25 20:29:17 robbat2 Exp $ + +EAPI="2" + +inherit toolchain-funcs eutils multilib + +DESCRIPTION="Bruce Guenters Libraries Collection" +HOMEPAGE="http://untroubled.org/bglibs/" +SRC_URI="http://untroubled.org/bglibs/archive/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +DEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.106-parallel-fix.patch + # disable tests as we want them manually + sed -i \ + -e '/^all:/s|selftests||' \ + "${S}"/Makefile + sed -i \ + -e '/selftests/d' \ + "${S}"/TARGETS + #sed -i \ + # -e 's,^libraries:,LIBS = ,g' \ + # -e '/^LIBS =/alibs-static: $(filter %.a,$(LIBS))' \ + # -e '/^LIBS =/alibs-shared: $(filter %.la,$(LIBS))' \ + # -e '/^LIBS =/alibraries: libs-static libs-shared' \ + # "${S}"/Makefile +} + +src_compile() { + echo "${D}/usr/bin" > conf-bin + echo "${D}/usr/$(get_libdir)/bglibs" > conf-lib + echo "${D}/usr/include/bglibs" > conf-include + echo "${D}/usr/share/man" > conf-man + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld + emake || die +} + +src_test() { + einfo "Running selftests" + emake selftests +} + +src_install () { + einstall || die "install failed" + + #make backwards compatible symlinks + dosym /usr/$(get_libdir)/bglibs /usr/$(get_libdir)/bglibs/lib + [ "$(get_libdir)" != "lib" ] && dosym /usr/$(get_libdir)/bglibs /usr/$(get_libdir)/bglibs/$(get_libdir) + dosym /usr/include/bglibs /usr/$(get_libdir)/bglibs/include + + #install .so in LDPATH + mv "${D}"/usr/$(get_libdir)/bglibs/libbg.so.1.1.1 "${D}"/usr/$(get_libdir)/ + mv "${D}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1 "${D}"/usr/$(get_libdir)/ + dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so.1 + dosym libbg.so.1.1.1 /usr/$(get_libdir)/libbg.so + dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so.1 + dosym libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/libbg-sysdeps.so + + dosym ../libbg.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg.so.1.1.1 + dosym ../libbg-sysdeps.so.1.1.1 /usr/$(get_libdir)/bglibs/libbg-sysdeps.so.1.1.1 + + rm "${D}"/usr/$(get_libdir)/bglibs/libbg.la + rm "${D}"/usr/$(get_libdir)/bglibs/libbg-sysdeps.la + + dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION + dohtml doc/html/* + docinto latex + dodoc doc/latex/* +} |