From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libpcre: libpcre-8.32.ebuild ChangeLog |
Date: | Sun, 02 Dec 2012 02:43:53 |
Message-Id: | 20121202024336.BFE162171E@flycatcher.gentoo.org |
1 | flameeyes 12/12/02 02:43:36 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libpcre-8.32.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha143/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342) |
9 | |
10 | Revision Changes Path |
11 | 1.208 dev-libs/libpcre/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.208&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.208&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.207&r2=1.208 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v |
20 | retrieving revision 1.207 |
21 | retrieving revision 1.208 |
22 | diff -u -r1.207 -r1.208 |
23 | --- ChangeLog 12 Jul 2012 11:05:15 -0000 1.207 |
24 | +++ ChangeLog 2 Dec 2012 02:43:36 -0000 1.208 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-libs/libpcre |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.207 2012/07/12 11:05:15 grobian Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.208 2012/12/02 02:43:36 flameeyes Exp $ |
30 | + |
31 | +*libpcre-8.32 (02 Dec 2012) |
32 | + |
33 | + 02 Dec 2012; Diego E. Pettenò <flameeyes@g.o> +libpcre-8.32.ebuild: |
34 | + Version bump. |
35 | |
36 | 12 Jul 2012; Fabian Groffen <grobian@g.o> |
37 | +files/libpcre-8.31-madvise.patch, libpcre-8.31.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/libpcre/libpcre-8.32.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.32.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpcre/libpcre-8.32.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libpcre-8.32.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.32.ebuild,v 1.1 2012/12/02 02:43:36 flameeyes Exp $ |
51 | |
52 | EAPI="4" |
53 | |
54 | inherit eutils multilib libtool flag-o-matic toolchain-funcs |
55 | |
56 | DESCRIPTION="Perl-compatible regular expression library" |
57 | HOMEPAGE="http://www.pcre.org/" |
58 | MY_P="pcre-${PV/_rc/-RC}" |
59 | if [[ ${PV} != *_rc* ]] ; then |
60 | # Only the final releases are available here. |
61 | SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 |
62 | ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2" |
63 | else |
64 | SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2" |
65 | fi |
66 | |
67 | LICENSE="BSD" |
68 | SLOT="3" |
69 | KEYWORDS="~alpha ~amd64 ~arm ~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 ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
70 | IUSE="bzip2 +cxx +jit libedit pcre16 +readline +recursion-limit static-libs unicode zlib" |
71 | REQUIRED_USE="readline? ( !libedit ) |
72 | libedit? ( !readline )" |
73 | |
74 | RDEPEND="bzip2? ( app-arch/bzip2 ) |
75 | zlib? ( sys-libs/zlib ) |
76 | libedit? ( dev-libs/libedit ) |
77 | readline? ( sys-libs/readline )" |
78 | DEPEND="${RDEPEND} |
79 | virtual/pkgconfig |
80 | userland_GNU? ( >=sys-apps/findutils-4.4.0 )" |
81 | |
82 | S=${WORKDIR}/${MY_P} |
83 | |
84 | src_prepare() { |
85 | sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die |
86 | elibtoolize |
87 | } |
88 | |
89 | src_configure() { |
90 | [[ ${CHOST} == *-mint* ]] && append-cppflags -D_GNU_SOURCE |
91 | econf \ |
92 | --with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \ |
93 | $(use_enable bzip2 pcregrep-libbz2) \ |
94 | $(use_enable cxx cpp) \ |
95 | $(use_enable jit) $(use_enable jit pcregrep-jit) \ |
96 | $(use_enable pcre16) \ |
97 | $(use_enable libedit pcretest-libedit) \ |
98 | $(use_enable readline pcretest-libreadline) \ |
99 | $(use_enable static-libs static) \ |
100 | $(use_enable unicode utf) $(use_enable unicode unicode-properties) \ |
101 | $(use_enable zlib pcregrep-libz) \ |
102 | --enable-pcre8 \ |
103 | --enable-shared \ |
104 | --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
105 | --docdir="${EPREFIX}"/usr/share/doc/${PF} |
106 | } |
107 | |
108 | src_install() { |
109 | emake DESTDIR="${D}" install |
110 | gen_usr_ldscript -a pcre |
111 | prune_libtool_files |
112 | } |
113 | |
114 | pkg_preinst() { |
115 | preserve_old_lib /$(get_libdir)/libpcre.so.0 |
116 | } |
117 | |
118 | pkg_postinst() { |
119 | preserve_old_lib_notify /$(get_libdir)/libpcre.so.0 |
120 | } |