Gentoo Archives: gentoo-commits

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