1 |
commit: bfcb9b3737ce68bfd2111c5e5adb62743f8de0eb |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 24 09:14:59 2015 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 24 09:16:15 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfcb9b37 |
7 |
|
8 |
dev-libs/libpcre: Bump to version 8.38 |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libpcre/Manifest | 1 + |
14 |
dev-libs/libpcre/libpcre-8.38.ebuild | 92 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 93 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libpcre/Manifest b/dev-libs/libpcre/Manifest |
18 |
index a4bcd7b..c0cadfd 100644 |
19 |
--- a/dev-libs/libpcre/Manifest |
20 |
+++ b/dev-libs/libpcre/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST pcre-7.9.tar.bz2 861580 SHA256 40a13a9759f1de5b16bc2f0d47b6aa5f0ec010325646 |
22 |
DIST pcre-8.35.tar.bz2 1522220 SHA256 a961c1c78befef263cc130756eeca7b674b4e73a81533293df44e4265236865b SHA512 e94c652b40de60b391e28afbddc67b5a034650f6f62027e52f2d7aef53caf5f0da9f2d4f6872d1558f965dd9d4d696e5e23d2a50f20a4fbc9f0a707fb6f55fae WHIRLPOOL 677dd9673299438c4d76c68947124069b9c2b88ac837e59d00fc4e92113498357041f173ec4ae1cd61e760debad0a2392710f986794796678e596b9a22ba62a2 |
23 |
DIST pcre-8.36.tar.bz2 1533818 SHA256 ef833457de0c40e82f573e34528f43a751ff20257ad0e86d272ed5637eb845bb SHA512 acd2bc6911be7b518ad4aca3c3ccbe98bdbeabf0e77d6b04009838c7825b563a001377f8c3a6a8a0583ec32ee9fefe05e3c1a69f272fe5084469a6b6c2148fbf WHIRLPOOL 4c144e3c468a76d8bac3d8a0d4642f7b2e2bd03f84ca915d51a81af7128d7d9c6ed7272bf25e2b9c5eb435037b77ffc41b871bd7257efde0a14a20f5fb4b8432 |
24 |
DIST pcre-8.37.tar.bz2 1557603 SHA256 51679ea8006ce31379fb0860e46dd86665d864b5020fc9cd19e71260eef4789d SHA512 19344c9add2ebbd26c528505d07d3b028d79bc3e6103d51453a449cebd76bc76f5bc7ddd9ef0de41f98c50be74a2d9a65db539ed60f1add1086d99bde8a81466 WHIRLPOOL 43f723a9107fd6d78a88d4682502d79d5b9b0df90a579667a80b9862611a1c7bee25a1d5a1f9facec7c077f89605d7d96e3843d4aa5b94113b49b06a974331e5 |
25 |
+DIST pcre-8.38.tar.bz2 1562265 SHA256 b9e02d36e23024d6c02a2e5b25204b3a4fa6ade43e0a5f869f254f49535079df SHA512 ad3412ceee8f992787a3e7cbe0155ffba67affd4b2dfece6c4501dc8d2012f52dcc1ee1f56759362e04bbbd10ea9370b3e46f238e2f75005cb69f6c8439e52c0 WHIRLPOOL 68533f741a3faa618f4d7341bfa59aaac295ac6af6085772e4c169ad73fae38e98cace2ce2af2899a619bb05dce79859dcd175a158a73729082f7cf52107d1df |
26 |
|
27 |
diff --git a/dev-libs/libpcre/libpcre-8.38.ebuild b/dev-libs/libpcre/libpcre-8.38.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..7cf1f69 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/libpcre/libpcre-8.38.ebuild |
32 |
@@ -0,0 +1,92 @@ |
33 |
+# Copyright 1999-2015 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI="5" |
38 |
+ |
39 |
+inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal |
40 |
+ |
41 |
+DESCRIPTION="Perl-compatible regular expression library" |
42 |
+HOMEPAGE="http://www.pcre.org/" |
43 |
+MY_P="pcre-${PV/_rc/-RC}" |
44 |
+if [[ ${PV} != *_rc* ]] ; then |
45 |
+ # Only the final releases are available here. |
46 |
+ SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 |
47 |
+ ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" |
48 |
+else |
49 |
+ SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="BSD" |
53 |
+SLOT="3" |
54 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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" |
55 |
+IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" |
56 |
+REQUIRED_USE="readline? ( !libedit ) |
57 |
+ libedit? ( !readline )" |
58 |
+ |
59 |
+RDEPEND="bzip2? ( app-arch/bzip2 ) |
60 |
+ zlib? ( sys-libs/zlib ) |
61 |
+ libedit? ( dev-libs/libedit ) |
62 |
+ readline? ( sys-libs/readline:0= )" |
63 |
+DEPEND="${RDEPEND} |
64 |
+ virtual/pkgconfig |
65 |
+ userland_GNU? ( >=sys-apps/findutils-4.4.0 )" |
66 |
+RDEPEND="${RDEPEND} |
67 |
+ abi_x86_32? ( |
68 |
+ !<=app-emulation/emul-linux-x86-baselibs-20131008-r2 |
69 |
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
70 |
+ )" |
71 |
+ |
72 |
+S=${WORKDIR}/${MY_P} |
73 |
+ |
74 |
+MULTILIB_CHOST_TOOLS=( |
75 |
+ /usr/bin/pcre-config |
76 |
+) |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die |
80 |
+ elibtoolize |
81 |
+} |
82 |
+ |
83 |
+multilib_src_configure() { |
84 |
+ ECONF_SOURCE="${S}" econf \ |
85 |
+ --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ |
86 |
+ $(multilib_native_use_enable bzip2 pcregrep-libbz2) \ |
87 |
+ $(use_enable cxx cpp) \ |
88 |
+ $(use_enable jit) $(use_enable jit pcregrep-jit) \ |
89 |
+ $(use_enable pcre16) \ |
90 |
+ $(use_enable pcre32) \ |
91 |
+ $(multilib_native_use_enable libedit pcretest-libedit) \ |
92 |
+ $(multilib_native_use_enable readline pcretest-libreadline) \ |
93 |
+ $(use_enable static-libs static) \ |
94 |
+ $(use_enable unicode utf) $(use_enable unicode unicode-properties) \ |
95 |
+ $(multilib_native_use_enable zlib pcregrep-libz) \ |
96 |
+ --enable-pcre8 \ |
97 |
+ --enable-shared \ |
98 |
+ --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
99 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} |
100 |
+} |
101 |
+ |
102 |
+multilib_src_compile() { |
103 |
+ emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") |
104 |
+} |
105 |
+ |
106 |
+multilib_src_install() { |
107 |
+ emake \ |
108 |
+ DESTDIR="${D}" \ |
109 |
+ $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ |
110 |
+ install |
111 |
+ multilib_is_native_abi && gen_usr_ldscript -a pcre |
112 |
+} |
113 |
+ |
114 |
+multilib_src_install_all() { |
115 |
+ prune_libtool_files |
116 |
+} |
117 |
+ |
118 |
+pkg_preinst() { |
119 |
+ preserve_old_lib /$(get_libdir)/libpcre.so.0 |
120 |
+} |
121 |
+ |
122 |
+pkg_postinst() { |
123 |
+ preserve_old_lib_notify /$(get_libdir)/libpcre.so.0 |
124 |
+} |