1 |
commit: 25ef6b909739e2427840d145c65da06e16dbcb8c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 14 21:05:24 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 14 21:05:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25ef6b90 |
7 |
|
8 |
dev-libs/libpcre2: Bump to version 10.23 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/libpcre2/Manifest | 1 + |
13 |
dev-libs/libpcre2/libpcre2-10.23.ebuild | 77 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 78 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libpcre2/Manifest b/dev-libs/libpcre2/Manifest |
17 |
index d5f0f423ae..1b257c8d41 100644 |
18 |
--- a/dev-libs/libpcre2/Manifest |
19 |
+++ b/dev-libs/libpcre2/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pcre2-10.22.tar.bz2 1470620 SHA256 b2b44619f4ac6c50ad74c2865fd56807571392496fae1c9ad7a70993d018f416 SHA512 dcf70b5e5b73f29188a56e4d9efb9afdf2b9ebe50e13a7640b80f543851235a289e476e1f517f49fac9628b456268bcdaf2b492237bc879ddff36f84ef4f32ea WHIRLPOOL 154ee1c4d2445878c2d2fd1eafa96584d8c943e9e545937b37d4c1fb12ba847938647184723d429244bf5aa989ba335cfbf74fadb5d38227862762bd34166232 |
22 |
+DIST pcre2-10.23.tar.bz2 1515314 SHA256 dfc79b918771f02d33968bd34a749ad7487fa1014aeb787fad29dd392b78c56e SHA512 3e5910bd2405cc35934d91e4be760abe4f2e900202a20b6ba74adb7a3acb2b74b3bf9b0e97e8de10f8e8534133e0722e0bf0f5fb40d6c2c4520d1ed61749d456 WHIRLPOOL 8db3deb22c26688607e1dc4b52229c64f8bcbb80908155ff9bd58b690a239984b6f5d1aff0cdc70efa3abf3ee899e22ea6e3a502437af424cb92d345133889a6 |
23 |
|
24 |
diff --git a/dev-libs/libpcre2/libpcre2-10.23.ebuild b/dev-libs/libpcre2/libpcre2-10.23.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000000..bd997225ea |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libpcre2/libpcre2-10.23.ebuild |
29 |
@@ -0,0 +1,77 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit eutils libtool flag-o-matic toolchain-funcs multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="Perl-compatible regular expression library" |
39 |
+HOMEPAGE="http://www.pcre.org/" |
40 |
+MY_P="pcre2-${PV/_rc/-RC}" |
41 |
+if [[ ${PV} != *_rc* ]] ; then |
42 |
+ # Only the final releases are available here. |
43 |
+ SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 |
44 |
+ ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" |
45 |
+else |
46 |
+ SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" |
47 |
+fi |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
52 |
+IUSE="bzip2 +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib" |
53 |
+REQUIRED_USE="?? ( libedit readline )" |
54 |
+ |
55 |
+RDEPEND="bzip2? ( app-arch/bzip2 ) |
56 |
+ zlib? ( sys-libs/zlib ) |
57 |
+ libedit? ( dev-libs/libedit ) |
58 |
+ readline? ( sys-libs/readline:0= )" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ virtual/pkgconfig |
61 |
+ userland_GNU? ( >=sys-apps/findutils-4.4.0 )" |
62 |
+ |
63 |
+S=${WORKDIR}/${MY_P} |
64 |
+ |
65 |
+MULTILIB_CHOST_TOOLS=( |
66 |
+ /usr/bin/pcre2-config |
67 |
+) |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ |
72 |
+ elibtoolize |
73 |
+} |
74 |
+ |
75 |
+multilib_src_configure() { |
76 |
+ ECONF_SOURCE="${S}" econf \ |
77 |
+ --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ |
78 |
+ $(multilib_native_use_enable bzip2 pcre2grep-libbz2) \ |
79 |
+ $(use_enable jit) $(use_enable jit pcre2grep-jit) \ |
80 |
+ $(use_enable pcre16 pcre2-16) \ |
81 |
+ $(use_enable pcre32 pcre2-32) \ |
82 |
+ $(multilib_native_use_enable libedit pcre2test-libedit) \ |
83 |
+ $(multilib_native_use_enable readline pcre2test-libreadline) \ |
84 |
+ $(use_enable static-libs static) \ |
85 |
+ $(use_enable unicode) \ |
86 |
+ $(multilib_native_use_enable zlib pcre2grep-libz) \ |
87 |
+ --enable-pcre2-8 \ |
88 |
+ --enable-shared \ |
89 |
+ --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html |
90 |
+} |
91 |
+ |
92 |
+multilib_src_compile() { |
93 |
+ emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") |
94 |
+} |
95 |
+ |
96 |
+multilib_src_install() { |
97 |
+ emake \ |
98 |
+ DESTDIR="${D}" \ |
99 |
+ $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \ |
100 |
+ install |
101 |
+ multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix |
102 |
+} |
103 |
+ |
104 |
+multilib_src_install_all() { |
105 |
+ prune_libtool_files |
106 |
+} |