Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libpcre: ChangeLog libpcre-8.30.ebuild
Date: Sun, 05 Feb 2012 21:44:17
Message-Id: 20120205214407.78B082004B@flycatcher.gentoo.org
1 radhermit 12/02/05 21:44:07
2
3 Modified: ChangeLog
4 Added: libpcre-8.30.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.189 dev-libs/libpcre/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.189&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.189&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.188&r2=1.189
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v
20 retrieving revision 1.188
21 retrieving revision 1.189
22 diff -u -r1.188 -r1.189
23 --- ChangeLog 31 Dec 2011 12:23:58 -0000 1.188
24 +++ ChangeLog 5 Feb 2012 21:44:07 -0000 1.189
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/libpcre
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.188 2011/12/31 12:23:58 grobian Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.189 2012/02/05 21:44:07 radhermit Exp $
31 +
32 +*libpcre-8.30 (05 Feb 2012)
33 +
34 + 05 Feb 2012; Tim Harder <radhermit@g.o> +libpcre-8.30.ebuild:
35 + Version bump.
36
37 31 Dec 2011; Fabian Groffen <grobian@g.o>
38 +files/libpcre-8.21-static-build.patch, libpcre-8.21.ebuild:
39
40
41
42 1.1 dev-libs/libpcre/libpcre-8.30.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.30.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.30.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libpcre-8.30.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.30.ebuild,v 1.1 2012/02/05 21:44:07 radhermit Exp $
52
53 EAPI="4"
54
55 inherit libtool flag-o-matic
56
57 DESCRIPTION="Perl-compatible regular expression library"
58 HOMEPAGE="http://www.pcre.org/"
59 MY_P="pcre-${PV/_rc/-RC}"
60 if [[ ${PV} != *_rc* ]] ; then
61 # Only the final releases are available here.
62 SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
63 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
64 else
65 SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
66 fi
67
68 LICENSE="BSD"
69 SLOT="3"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
71 IUSE="bzip2 +cxx +jit +readline +recursion-limit static-libs unicode zlib"
72
73 RDEPEND="bzip2? ( app-arch/bzip2 )
74 zlib? ( sys-libs/zlib )
75 readline? ( sys-libs/readline )"
76 DEPEND="${RDEPEND}
77 dev-util/pkgconfig
78 userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
79
80 S=${WORKDIR}/${MY_P}
81
82 src_prepare() {
83 sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
84 elibtoolize
85 }
86
87 src_configure() {
88 [[ ${CHOST} == *-mint* ]] && append-flags -D_GNU_SOURCE
89 econf \
90 --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 $(use_enable jit) $(use_enable jit pcregrep-jit) \
97 $(use_enable readline pcretest-libreadline) \
98 --enable-shared \
99 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
100 --docdir="${EPREFIX}"/usr/share/doc/${PF}
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" install
105 gen_usr_ldscript -a pcre
106 find "${D}" -type f -name '*.la' -exec rm -f {} +
107 }