1 |
radhermit 12/02/05 23:06:33 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: libpcre-8.30-r1.ebuild |
5 |
Log: |
6 |
Add pcre16 use flag to control building the library with 16-bit character support. |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 dev-libs/libpcre/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/metadata.xml?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/metadata.xml?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/metadata.xml?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/metadata.xml,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- metadata.xml 23 Oct 2011 16:06:55 -0000 1.9 |
24 |
+++ metadata.xml 5 Feb 2012 23:06:33 -0000 1.10 |
25 |
@@ -15,6 +15,10 @@ |
26 |
Gentoo Hardened. |
27 |
</flag> |
28 |
|
29 |
+ <flag name='pcre16'> |
30 |
+ Build 16 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.190 dev-libs/libpcre/ChangeLog |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.190&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.190&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.189&r2=1.190 |
44 |
|
45 |
Index: ChangeLog |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v |
48 |
retrieving revision 1.189 |
49 |
retrieving revision 1.190 |
50 |
diff -u -r1.189 -r1.190 |
51 |
--- ChangeLog 5 Feb 2012 21:44:07 -0000 1.189 |
52 |
+++ ChangeLog 5 Feb 2012 23:06:33 -0000 1.190 |
53 |
@@ -1,6 +1,13 @@ |
54 |
# ChangeLog for dev-libs/libpcre |
55 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.189 2012/02/05 21:44:07 radhermit Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.190 2012/02/05 23:06:33 radhermit Exp $ |
58 |
+ |
59 |
+*libpcre-8.30-r1 (05 Feb 2012) |
60 |
+ |
61 |
+ 05 Feb 2012; Tim Harder <radhermit@g.o> +libpcre-8.30-r1.ebuild, |
62 |
+ metadata.xml: |
63 |
+ Add pcre16 use flag to control building the library with 16-bit character |
64 |
+ support. |
65 |
|
66 |
*libpcre-8.30 (05 Feb 2012) |
67 |
|
68 |
|
69 |
|
70 |
|
71 |
1.1 dev-libs/libpcre/libpcre-8.30-r1.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.30-r1.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.30-r1.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: libpcre-8.30-r1.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2012 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.30-r1.ebuild,v 1.1 2012/02/05 23:06:33 radhermit Exp $ |
81 |
|
82 |
EAPI="4" |
83 |
|
84 |
inherit libtool flag-o-matic |
85 |
|
86 |
DESCRIPTION="Perl-compatible regular expression library" |
87 |
HOMEPAGE="http://www.pcre.org/" |
88 |
MY_P="pcre-${PV/_rc/-RC}" |
89 |
if [[ ${PV} != *_rc* ]] ; then |
90 |
# Only the final releases are available here. |
91 |
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 |
92 |
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" |
93 |
else |
94 |
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" |
95 |
fi |
96 |
|
97 |
LICENSE="BSD" |
98 |
SLOT="3" |
99 |
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" |
100 |
IUSE="bzip2 +cxx +jit pcre16 +readline +recursion-limit static-libs unicode zlib" |
101 |
|
102 |
RDEPEND="bzip2? ( app-arch/bzip2 ) |
103 |
zlib? ( sys-libs/zlib ) |
104 |
readline? ( sys-libs/readline )" |
105 |
DEPEND="${RDEPEND} |
106 |
dev-util/pkgconfig |
107 |
userland_GNU? ( >=sys-apps/findutils-4.4.0 )" |
108 |
|
109 |
S=${WORKDIR}/${MY_P} |
110 |
|
111 |
src_prepare() { |
112 |
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die |
113 |
elibtoolize |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
[[ ${CHOST} == *-mint* ]] && append-flags -D_GNU_SOURCE |
118 |
econf \ |
119 |
--with-match-limit-recursion=$(use recursion-limit && echo 8192 || echo MATCH_LIMIT) \ |
120 |
$(use_enable bzip2 pcregrep-libbz2) \ |
121 |
$(use_enable cxx cpp) \ |
122 |
$(use_enable jit) $(use_enable jit pcregrep-jit) \ |
123 |
$(use_enable pcre16) \ |
124 |
$(use_enable readline pcretest-libreadline) \ |
125 |
$(use_enable static-libs static) \ |
126 |
$(use_enable unicode utf) $(use_enable unicode unicode-properties) \ |
127 |
$(use_enable zlib pcregrep-libz) \ |
128 |
--enable-pcre8 \ |
129 |
--enable-shared \ |
130 |
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
131 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
emake DESTDIR="${D}" install |
136 |
gen_usr_ldscript -a pcre |
137 |
find "${D}" -type f -name '*.la' -exec rm -f {} + |
138 |
} |