summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-11-14 10:15:40 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-11-14 10:15:40 +0000
commit88a08b85aea894df6966c07c25b42d9af4d98382 (patch)
tree604649cf6cebe47640e0e0ec464632ba2b7b128f /dev-libs
parentalpha/sparc/x86 stable wrt #238762 (diff)
downloadhistorical-88a08b85aea894df6966c07c25b42d9af4d98382.tar.gz
historical-88a08b85aea894df6966c07c25b42d9af4d98382.tar.bz2
historical-88a08b85aea894df6966c07c25b42d9af4d98382.zip
Version bump
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/nspr/Manifest4
-rw-r--r--dev-libs/nspr/nspr-4.7.2.ebuild88
-rw-r--r--dev-libs/nspr/nspr-4.7.3.ebuild88
3 files changed, 180 insertions, 0 deletions
diff --git a/dev-libs/nspr/Manifest b/dev-libs/nspr/Manifest
index 639839e1fff0..b1796310cd36 100644
--- a/dev-libs/nspr/Manifest
+++ b/dev-libs/nspr/Manifest
@@ -7,7 +7,11 @@ AUX nspr-4.7.0-prtime.patch 964 RMD160 a963c21fb1ce5e8913d3c41753ca37b24e80798d
AUX nspr.pc.in 250 RMD160 4b09e190d343398d26568ed0dce821f951128782 SHA1 edcc81bcdb0618418aaa0d3fb82a3d0475b9098a SHA256 af16b4d93fe4615572ea1af025ff7b56763c734a4d946bb20abd62b032e08639
DIST nspr-4.6.8.tar.gz 1313108 RMD160 da8b77c3b386adb82467613e0bcdbdf5f68369ea SHA1 ca0d7a940e1cf6cf6bd63680fedf090195d0b460 SHA256 47750e6a99e2570fa2119f21d5d201174282679352379a565e3e5a80453e48b1
DIST nspr-4.7.1.tar.bz2 980527 RMD160 9eeb7c64ddee51a4647a9a518c02161a3937d2c0 SHA1 126d9507c6a05d547e61da49701618b61555b1b4 SHA256 3816016e1dc99e08d03a5fd8c1ee8657f69e7035d2503756a78bd833c3393957
+DIST nspr-4.7.2.tar.gz 1254365 RMD160 763c896cf6b67cc31f4aa7970e3ae0fb3d848286 SHA1 572f61e61ab51f8c913c4cf2405134b20b754c6d SHA256 a5ab9b7af9c4c749a6b6bfbc06437a5a7faf2403ac75ff9465c72f6df7c1a4a7
+DIST nspr-4.7.3.tar.gz 1254585 RMD160 532417c8c4d04a32d6cfc09ea8f2279d5ee69e72 SHA1 351c34c8f26d11a441bc3130655cd9144e724899 SHA256 b1d2419ef1807c38944fc746fff14fda8506589e5462dc31194a9d1b494b9f49
EBUILD nspr-4.6.8.ebuild 2728 RMD160 ae71ef8cf0bee0ee1ab37334329507e42bb2777a SHA1 6ca08873090170805f5a7a23a8f07fc57f7d9509 SHA256 4e5bd2f248b71e3b79f5e38e2c10a395590dc645c573d35fbc64c6c07660002d
EBUILD nspr-4.7.1.ebuild 2324 RMD160 c99fbc30dc3440d1a6ce8d9157214286a7eb5e7b SHA1 6a53662e98dad5f3f6d0a774c1d1a1a90cada43c SHA256 30d148d6d39c058b5c0d1d1bd410b443f2c74bfe8083562b09b5fdf64ee28bc1
+EBUILD nspr-4.7.2.ebuild 2370 RMD160 0f93508b5099f4bd945c7a17e0386fff48fbaffd SHA1 c1af05d91de7201bf1c1ce9776b7de77ec195dd1 SHA256 01388439a627938083b1cb06e0000eedc2521b216f590538eeaf1e49ae1f78b9
+EBUILD nspr-4.7.3.ebuild 2370 RMD160 0c391c0b9b1b1eb4519f62426d58c0d110574696 SHA1 05db2592bb7746b4b1f8900a8f7ff434dc7b85f2 SHA256 1ed77fc35249be62e56b75e15a2ce8b524083662b1b656763d8c246db3304d3a
MISC ChangeLog 13794 RMD160 b60e325357794acc3bf6ae6317f3d70c7c0a4642 SHA1 4549379c6e8607f43a01fec2d5891f5edf2ddb52 SHA256 b5dca616b47a1f078954c2b1fdf69a1d2b5a2d4c6887390feb0c4d2bcb86f85f
MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b
diff --git a/dev-libs/nspr/nspr-4.7.2.ebuild b/dev-libs/nspr/nspr-4.7.2.ebuild
new file mode 100644
index 000000000000..3a8f5f46b258
--- /dev/null
+++ b/dev-libs/nspr/nspr-4.7.2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.2.ebuild,v 1.1 2008/11/14 10:15:40 armin76 Exp $
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Netscape Portable Runtime"
+HOMEPAGE="http://www.mozilla.org/projects/nspr/"
+SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
+
+LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="ipv6 debug"
+
+DEPEND=">=dev-db/sqlite-3.5"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ mkdir build inst
+ epatch "${FILESDIR}"/${PN}-4.6.1-config.patch
+ epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
+ epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
+ epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
+
+ # Respect LDFLAGS
+ sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
+ mozilla/nsprpub/config/rules.mk
+}
+
+src_compile() {
+ cd "${S}"/build
+
+ echo > "${T}"/test.c
+ $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
+ case $(file "${T}"/test.o) in
+ *64-bit*) myconf="${myconf} --enable-64bit";;
+ *32-bit*) ;;
+ *) die "FAIL";;
+ esac
+
+ if use ipv6; then
+ myconf="${myconf} --enable-ipv6"
+ fi
+
+ myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \
+ --enable-system-sqlite"
+
+ ECONF_SOURCE="../mozilla/nsprpub" econf \
+ $(use_enable debug) \
+ ${myconf} || die "econf failed"
+ make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
+}
+
+src_install () {
+ # Their build system is royally fucked, as usual
+ MINOR_VERSION=7
+ cd "${S}"/build
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ cd "${D}"/usr/$(get_libdir)/nspr
+ for file in *.so; do
+ mv ${file} ${file}.${MINOR_VERSION}
+ ln -s ${file}.${MINOR_VERSION} ${file}
+ done
+ # cope with libraries being in /usr/lib/nspr
+ dodir /etc/env.d
+ echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr"
+
+ # install nspr-config
+ dobin "${S}"/build/config/nspr-config
+
+ # create pkg-config file
+ insinto /usr/$(get_libdir)/pkgconfig/
+ doins "${S}"/build/config/nspr.pc
+
+ # Remove stupid files in /usr/bin
+ rm "${D}"/usr/bin/{prerr.properties,nspr.pc}
+}
+
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
+}
diff --git a/dev-libs/nspr/nspr-4.7.3.ebuild b/dev-libs/nspr/nspr-4.7.3.ebuild
new file mode 100644
index 000000000000..c3cefbaf1487
--- /dev/null
+++ b/dev-libs/nspr/nspr-4.7.3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.3.ebuild,v 1.1 2008/11/14 10:15:40 armin76 Exp $
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Netscape Portable Runtime"
+HOMEPAGE="http://www.mozilla.org/projects/nspr/"
+SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
+
+LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="ipv6 debug"
+
+DEPEND=">=dev-db/sqlite-3.5"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ mkdir build inst
+ epatch "${FILESDIR}"/${PN}-4.6.1-config.patch
+ epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
+ epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
+ epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
+
+ # Respect LDFLAGS
+ sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
+ mozilla/nsprpub/config/rules.mk
+}
+
+src_compile() {
+ cd "${S}"/build
+
+ echo > "${T}"/test.c
+ $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
+ case $(file "${T}"/test.o) in
+ *64-bit*) myconf="${myconf} --enable-64bit";;
+ *32-bit*) ;;
+ *) die "FAIL";;
+ esac
+
+ if use ipv6; then
+ myconf="${myconf} --enable-ipv6"
+ fi
+
+ myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \
+ --enable-system-sqlite"
+
+ ECONF_SOURCE="../mozilla/nsprpub" econf \
+ $(use_enable debug) \
+ ${myconf} || die "econf failed"
+ make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
+}
+
+src_install () {
+ # Their build system is royally fucked, as usual
+ MINOR_VERSION=7
+ cd "${S}"/build
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ cd "${D}"/usr/$(get_libdir)/nspr
+ for file in *.so; do
+ mv ${file} ${file}.${MINOR_VERSION}
+ ln -s ${file}.${MINOR_VERSION} ${file}
+ done
+ # cope with libraries being in /usr/lib/nspr
+ dodir /etc/env.d
+ echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr"
+
+ # install nspr-config
+ dobin "${S}"/build/config/nspr-config
+
+ # create pkg-config file
+ insinto /usr/$(get_libdir)/pkgconfig/
+ doins "${S}"/build/config/nspr.pc
+
+ # Remove stupid files in /usr/bin
+ rm "${D}"/usr/bin/{prerr.properties,nspr.pc}
+}
+
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
+}