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