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