Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libpcre: ChangeLog libpcre-8.36.ebuild libpcre-8.33.ebuild libpcre-8.21.ebuild libpcre-8.02.ebuild libpcre-8.32.ebuild libpcre-8.13-r1.ebuild libpcre-8.33-r1.ebuild libpcre-8.12.ebuild libpcre-8.13.ebuild libpcre-8.34.ebuild libpcre-8.32-r1.ebuild libpcre-8.20.ebuild libpcre-8.31.ebuild libpcre-8.30-r2.ebuild
Date: Thu, 02 Oct 2014 08:54:29
Message-Id: 20141002085424.EAD036C0A@oystercatcher.gentoo.org
1 polynomial-c 14/10/02 08:54:24
2
3 Modified: ChangeLog
4 Added: libpcre-8.36.ebuild
5 Removed: libpcre-8.33.ebuild libpcre-8.21.ebuild
6 libpcre-8.02.ebuild libpcre-8.32.ebuild
7 libpcre-8.13-r1.ebuild libpcre-8.33-r1.ebuild
8 libpcre-8.12.ebuild libpcre-8.13.ebuild
9 libpcre-8.34.ebuild libpcre-8.32-r1.ebuild
10 libpcre-8.20.ebuild libpcre-8.31.ebuild
11 libpcre-8.30-r2.ebuild
12 Log:
13 Version bump. Removed old.
14
15 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
16
17 Revision Changes Path
18 1.245 dev-libs/libpcre/ChangeLog
19
20 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.245&view=markup
21 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.245&content-type=text/plain
22 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.244&r2=1.245
23
24 Index: ChangeLog
25 ===================================================================
26 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v
27 retrieving revision 1.244
28 retrieving revision 1.245
29 diff -u -r1.244 -r1.245
30 --- ChangeLog 4 Sep 2014 06:50:07 -0000 1.244
31 +++ ChangeLog 2 Oct 2014 08:54:24 -0000 1.245
32 @@ -1,6 +1,18 @@
33 # ChangeLog for dev-libs/libpcre
34 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
35 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.244 2014/09/04 06:50:07 vapier Exp $
36 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.245 2014/10/02 08:54:24 polynomial-c Exp $
37 +
38 +*libpcre-8.36 (02 Oct 2014)
39 +
40 + 02 Oct 2014; Lars Wendler <polynomial-c@g.o> -libpcre-8.02.ebuild,
41 + -libpcre-8.12.ebuild, -libpcre-8.13.ebuild, -libpcre-8.13-r1.ebuild,
42 + -libpcre-8.20.ebuild, -libpcre-8.21.ebuild, -libpcre-8.30-r2.ebuild,
43 + -libpcre-8.31.ebuild, -libpcre-8.32.ebuild, -libpcre-8.32-r1.ebuild,
44 + -libpcre-8.33.ebuild, -libpcre-8.33-r1.ebuild, -libpcre-8.34.ebuild,
45 + +libpcre-8.36.ebuild, -files/libpcre-8.13-posix-regex.patch,
46 + -files/libpcre-8.21-static-build.patch, -files/libpcre-8.30-bzip2-typo.patch,
47 + -files/libpcre-8.31-madvise.patch:
48 + Version bump. Removed old.
49
50 04 Sep 2014; Mike Frysinger <vapier@g.o> libpcre-8.35.ebuild:
51 Mark arm64/m68k/s390/sh/sparc stable.
52
53
54
55 1.1 dev-libs/libpcre/libpcre-8.36.ebuild
56
57 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.36.ebuild?rev=1.1&view=markup
58 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.36.ebuild?rev=1.1&content-type=text/plain
59
60 Index: libpcre-8.36.ebuild
61 ===================================================================
62 # Copyright 1999-2014 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.36.ebuild,v 1.1 2014/10/02 08:54:24 polynomial-c Exp $
65
66 EAPI="4"
67
68 inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal
69
70 DESCRIPTION="Perl-compatible regular expression library"
71 HOMEPAGE="http://www.pcre.org/"
72 MY_P="pcre-${PV/_rc/-RC}"
73 if [[ ${PV} != *_rc* ]] ; then
74 # Only the final releases are available here.
75 SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
76 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
77 else
78 SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
79 fi
80
81 LICENSE="BSD"
82 SLOT="3"
83 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"
84 IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
85 REQUIRED_USE="readline? ( !libedit )
86 libedit? ( !readline )"
87
88 RDEPEND="bzip2? ( app-arch/bzip2 )
89 zlib? ( sys-libs/zlib )
90 libedit? ( dev-libs/libedit )
91 readline? ( sys-libs/readline )"
92 DEPEND="${RDEPEND}
93 virtual/pkgconfig
94 userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
95 RDEPEND="${RDEPEND}
96 abi_x86_32? (
97 !<=app-emulation/emul-linux-x86-baselibs-20131008-r2
98 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
99 )"
100
101 S=${WORKDIR}/${MY_P}
102
103 MULTILIB_CHOST_TOOLS=(
104 /usr/bin/pcre-config
105 )
106
107 src_prepare() {
108 local pc
109 for pc in *.pc.in ; do
110 echo "Libs.private: @PTHREAD_CFLAGS@" >> ${pc} #454478
111 done
112 sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
113 elibtoolize
114 }
115
116 multilib_src_configure() {
117 ECONF_SOURCE="${S}" econf \
118 --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
119 $(multilib_native_use_enable bzip2 pcregrep-libbz2) \
120 $(use_enable cxx cpp) \
121 $(use_enable jit) $(use_enable jit pcregrep-jit) \
122 $(use_enable pcre16) \
123 $(use_enable pcre32) \
124 $(multilib_native_use_enable libedit pcretest-libedit) \
125 $(multilib_native_use_enable readline pcretest-libreadline) \
126 $(use_enable static-libs static) \
127 $(use_enable unicode utf) $(use_enable unicode unicode-properties) \
128 $(multilib_native_use_enable zlib pcregrep-libz) \
129 --enable-pcre8 \
130 --enable-shared \
131 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
132 --docdir="${EPREFIX}"/usr/share/doc/${PF}
133 }
134
135 multilib_src_compile() {
136 emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
137 }
138
139 multilib_src_install() {
140 emake \
141 DESTDIR="${D}" \
142 $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
143 install
144 multilib_is_native_abi && gen_usr_ldscript -a pcre
145 }
146
147 multilib_src_install_all() {
148 prune_libtool_files
149 }
150
151 pkg_preinst() {
152 preserve_old_lib /$(get_libdir)/libpcre.so.0
153 }
154
155 pkg_postinst() {
156 preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
157 }