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: metadata.xml ChangeLog libpcre-8.33.ebuild
Date: Wed, 29 May 2013 02:24:54
Message-Id: 20130529022448.C3B302171E@flycatcher.gentoo.org
1 radhermit 13/05/29 02:24:48
2
3 Modified: metadata.xml ChangeLog
4 Added: libpcre-8.33.ebuild
5 Log:
6 Version bump and add pcre32 use flag (bug #471608).
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.13 dev-libs/libpcre/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/metadata.xml?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/metadata.xml?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/metadata.xml?r1=1.12&r2=1.13
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/metadata.xml,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- metadata.xml 25 May 2012 16:40:05 -0000 1.12
24 +++ metadata.xml 29 May 2013 02:24:48 -0000 1.13
25 @@ -12,6 +12,10 @@
26 Build 16 bit PCRE library.
27 </flag>
28
29 + <flag name='pcre32'>
30 + Build 32 bit PCRE library.
31 + </flag>
32 +
33 <flag name='readline'>
34 Add support for command line editing to pcretest, through
35 <pkg>sys-libs/readline</pkg>.
36
37
38
39 1.211 dev-libs/libpcre/ChangeLog
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.211&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.211&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.210&r2=1.211
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v
48 retrieving revision 1.210
49 retrieving revision 1.211
50 diff -u -r1.210 -r1.211
51 --- ChangeLog 28 Apr 2013 02:22:45 -0000 1.210
52 +++ ChangeLog 29 May 2013 02:24:48 -0000 1.211
53 @@ -1,6 +1,12 @@
54 # ChangeLog for dev-libs/libpcre
55 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.210 2013/04/28 02:22:45 vapier Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.211 2013/05/29 02:24:48 radhermit Exp $
58 +
59 +*libpcre-8.33 (29 May 2013)
60 +
61 + 29 May 2013; Tim Harder <radhermit@g.o> +libpcre-8.33.ebuild,
62 + metadata.xml:
63 + Version bump and add pcre32 use flag (bug #471608).
64
65 *libpcre-8.32-r1 (28 Apr 2013)
66
67
68
69
70 1.1 dev-libs/libpcre/libpcre-8.33.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.33.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.33.ebuild?rev=1.1&content-type=text/plain
74
75 Index: libpcre-8.33.ebuild
76 ===================================================================
77 # Copyright 1999-2013 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.33.ebuild,v 1.1 2013/05/29 02:24:48 radhermit Exp $
80
81 EAPI="4"
82
83 inherit eutils multilib libtool flag-o-matic toolchain-funcs
84
85 DESCRIPTION="Perl-compatible regular expression library"
86 HOMEPAGE="http://www.pcre.org/"
87 MY_P="pcre-${PV/_rc/-RC}"
88 if [[ ${PV} != *_rc* ]] ; then
89 # Only the final releases are available here.
90 SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
91 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
92 else
93 SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
94 fi
95
96 LICENSE="BSD"
97 SLOT="3"
98 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
99 IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
100 REQUIRED_USE="readline? ( !libedit )
101 libedit? ( !readline )"
102
103 RDEPEND="bzip2? ( app-arch/bzip2 )
104 zlib? ( sys-libs/zlib )
105 libedit? ( dev-libs/libedit )
106 readline? ( sys-libs/readline )"
107 DEPEND="${RDEPEND}
108 virtual/pkgconfig
109 userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
110
111 S=${WORKDIR}/${MY_P}
112
113 src_prepare() {
114 local pc
115 for pc in *.pc.in ; do
116 echo "Libs.private: @PTHREAD_CFLAGS@" >> ${pc} #454478
117 done
118 sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
119 elibtoolize
120 }
121
122 src_configure() {
123 [[ ${CHOST} == *-mint* ]] && append-cppflags -D_GNU_SOURCE
124 econf \
125 --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
126 $(use_enable bzip2 pcregrep-libbz2) \
127 $(use_enable cxx cpp) \
128 $(use_enable jit) $(use_enable jit pcregrep-jit) \
129 $(use_enable pcre16) \
130 $(use_enable pcre32) \
131 $(use_enable libedit pcretest-libedit) \
132 $(use_enable readline pcretest-libreadline) \
133 $(use_enable static-libs static) \
134 $(use_enable unicode utf) $(use_enable unicode unicode-properties) \
135 $(use_enable zlib pcregrep-libz) \
136 --enable-pcre8 \
137 --enable-shared \
138 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
139 --docdir="${EPREFIX}"/usr/share/doc/${PF}
140 }
141
142 src_install() {
143 emake DESTDIR="${D}" install
144 gen_usr_ldscript -a pcre
145 prune_libtool_files
146 }
147
148 pkg_preinst() {
149 preserve_old_lib /$(get_libdir)/libpcre.so.0
150 }
151
152 pkg_postinst() {
153 preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
154 }