1 |
armin76 08/02/25 10:31:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nspr-4.7.1_beta1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.96 dev-libs/nspr/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/nspr/ChangeLog?rev=1.96&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/nspr/ChangeLog?rev=1.96&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/nspr/ChangeLog?r1=1.95&r2=1.96 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v |
19 |
retrieving revision 1.95 |
20 |
retrieving revision 1.96 |
21 |
diff -u -r1.95 -r1.96 |
22 |
--- ChangeLog 14 Feb 2008 11:09:23 -0000 1.95 |
23 |
+++ ChangeLog 25 Feb 2008 10:31:49 -0000 1.96 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-libs/nspr |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.95 2008/02/14 11:09:23 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.96 2008/02/25 10:31:49 armin76 Exp $ |
29 |
+ |
30 |
+*nspr-4.7.1_beta1 (25 Feb 2008) |
31 |
+ |
32 |
+ 25 Feb 2008; Raúl Porcel <armin76@g.o> +nspr-4.7.1_beta1.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
14 Feb 2008; Raúl Porcel <armin76@g.o> nspr-4.6.7.ebuild, |
36 |
nspr-4.6.8.ebuild, nspr-4.7.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-libs/nspr/nspr-4.7.1_beta1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/nspr/nspr-4.7.1_beta1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/nspr/nspr-4.7.1_beta1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: nspr-4.7.1_beta1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.1_beta1.ebuild,v 1.1 2008/02/25 10:31:49 armin76 Exp $ |
50 |
|
51 |
inherit eutils multilib toolchain-funcs |
52 |
|
53 |
DESCRIPTION="Netscape Portable Runtime" |
54 |
HOMEPAGE="http://www.mozilla.org/projects/nspr/" |
55 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
56 |
|
57 |
LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
60 |
IUSE="ipv6 debug" |
61 |
|
62 |
DEPEND=">=dev-db/sqlite-3.5" |
63 |
|
64 |
src_unpack() { |
65 |
unpack ${A} |
66 |
cd "${S}" |
67 |
mkdir build inst |
68 |
epatch "${FILESDIR}"/${PN}-4.6.1-config.patch |
69 |
epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch |
70 |
epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch |
71 |
epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch |
72 |
} |
73 |
|
74 |
src_compile() { |
75 |
cd "${S}"/build |
76 |
|
77 |
echo > "${T}"/test.c |
78 |
$(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o |
79 |
case $(file "${T}"/test.o) in |
80 |
*64-bit*) myconf="${myconf} --enable-64bit";; |
81 |
*32-bit*) ;; |
82 |
*) die "FAIL";; |
83 |
esac |
84 |
|
85 |
if use ipv6; then |
86 |
myconf="${myconf} --enable-ipv6" |
87 |
fi |
88 |
|
89 |
myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \ |
90 |
--enable-system-sqlite" |
91 |
|
92 |
ECONF_SOURCE="../mozilla/nsprpub" econf \ |
93 |
$(use_enable debug) \ |
94 |
${myconf} || die "econf failed" |
95 |
make || die |
96 |
} |
97 |
|
98 |
src_install () { |
99 |
# Their build system is royally fucked, as usual |
100 |
MINOR_VERSION=7 |
101 |
cd "${S}"/build |
102 |
emake DESTDIR="${D}" install || die "emake install failed" |
103 |
|
104 |
cd "${D}"/usr/$(get_libdir)/nspr |
105 |
for file in *.so; do |
106 |
mv ${file} ${file}.${MINOR_VERSION} |
107 |
ln -s ${file}.${MINOR_VERSION} ${file} |
108 |
done |
109 |
# cope with libraries being in /usr/lib/nspr |
110 |
dodir /etc/env.d |
111 |
echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr" |
112 |
|
113 |
# install nspr-config |
114 |
dobin "${S}"/build/config/nspr-config |
115 |
|
116 |
# create pkg-config file |
117 |
insinto /usr/$(get_libdir)/pkgconfig/ |
118 |
doins "${S}"/build/config/nspr.pc |
119 |
|
120 |
# Remove stupid files in /usr/bin |
121 |
rm "${D}"/usr/bin/{prerr.properties,nspr.pc} |
122 |
} |
123 |
|
124 |
pkg_preinst() { |
125 |
preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6 |
126 |
} |
127 |
|
128 |
pkg_postinst() { |
129 |
preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6 |
130 |
} |
131 |
|
132 |
|
133 |
|
134 |
-- |
135 |
gentoo-commits@l.g.o mailing list |