Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libpcre: libpcre-8.12.ebuild ChangeLog libpcre-8.11.ebuild libpcre-8.10.ebuild
Date: Mon, 31 Jan 2011 19:52:13
Message-Id: 20110131195204.1365C20054@flycatcher.gentoo.org
1 flameeyes 11/01/31 19:52:03
2
3 Modified: ChangeLog
4 Added: libpcre-8.12.ebuild
5 Removed: libpcre-8.11.ebuild libpcre-8.10.ebuild
6 Log:
7 Version bump, remove old 8.1x series ebuilds as 8.12 is the next stable candidate instead.
8
9 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.173 dev-libs/libpcre/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.173&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.173&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.172&r2=1.173
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v
21 retrieving revision 1.172
22 retrieving revision 1.173
23 diff -u -r1.172 -r1.173
24 --- ChangeLog 18 Jan 2011 05:44:15 -0000 1.172
25 +++ ChangeLog 31 Jan 2011 19:52:03 -0000 1.173
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-libs/libpcre
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.172 2011/01/18 05:44:15 xarthisius Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.173 2011/01/31 19:52:03 flameeyes Exp $
31 +
32 +*libpcre-8.12 (31 Jan 2011)
33 +
34 + 31 Jan 2011; Diego E. Pettenò <flameeyes@g.o> -libpcre-8.10.ebuild,
35 + -libpcre-8.11.ebuild, +libpcre-8.12.ebuild:
36 + Version bump, remove old 8.1x series ebuilds as 8.12 is the next stable
37 + candidate instead.
38
39 18 Jan 2011; Kacper Kowalik <xarthisius@g.o> libpcre-8.02.ebuild:
40 ppc64 stable wrt #348487
41
42
43
44 1.1 dev-libs/libpcre/libpcre-8.12.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.12.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.12.ebuild?rev=1.1&content-type=text/plain
48
49 Index: libpcre-8.12.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.12.ebuild,v 1.1 2011/01/31 19:52:03 flameeyes Exp $
54
55 EAPI=2
56
57 inherit libtool eutils toolchain-funcs
58
59 DESCRIPTION="Perl-compatible regular expression library"
60 HOMEPAGE="http://www.pcre.org/"
61 if [[ ${PV} == ${PV/_rc} ]]
62 then
63 MY_P="pcre-${PV}"
64 # Only the final releases are available here.
65 SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
66 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
67 else
68 MY_P="pcre-${PV/_rc/-RC}"
69 SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
70 fi
71 LICENSE="BSD"
72 SLOT="3"
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
74 IUSE="bzip2 +cxx unicode zlib static-libs +recursion-limit"
75
76 RDEPEND="bzip2? ( app-arch/bzip2 )
77 zlib? ( sys-libs/zlib )"
78 DEPEND="${RDEPEND}
79 dev-util/pkgconfig
80 userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
81
82 S=${WORKDIR}/${MY_P}
83
84 src_prepare() {
85 sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die "Fixing libpcrecpp pkgconfig files failed"
86 elibtoolize
87 }
88
89 src_configure() {
90 econf --with-match-limit-recursion=$(use recursion-limit && echo 8192 || echo MATCH_LIMIT) \
91 $(use_enable unicode utf8) $(use_enable unicode unicode-properties) \
92 $(use_enable cxx cpp) \
93 $(use_enable zlib pcregrep-libz) \
94 $(use_enable bzip2 pcregrep-libbz2) \
95 $(use_enable static-libs static) \
96 --enable-shared \
97 --htmldir=/usr/share/doc/${PF}/html \
98 --docdir=/usr/share/doc/${PF} \
99 || die "econf failed"
100 }
101
102 src_install() {
103 emake DESTDIR="${D}" install || die "make install failed"
104 gen_usr_ldscript -a pcre
105 find "${D}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
106 }