Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libpcre: ChangeLog libpcre-8.02.ebuild
Date: Mon, 03 May 2010 20:15:42
Message-Id: 20100503201540.1975C2C38C@corvid.gentoo.org
1 patrick 10/05/03 20:15:39
2
3 Modified: ChangeLog
4 Added: libpcre-8.02.ebuild
5 Log:
6 Bump for #311077
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.164 dev-libs/libpcre/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.164&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.164&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.163&r2=1.164
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v
19 retrieving revision 1.163
20 retrieving revision 1.164
21 diff -u -r1.163 -r1.164
22 --- ChangeLog 21 Oct 2009 08:56:24 -0000 1.163
23 +++ ChangeLog 3 May 2010 20:15:39 -0000 1.164
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/libpcre
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.163 2009/10/21 08:56:24 loki_val Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.164 2010/05/03 20:15:39 patrick Exp $
30 +
31 +*libpcre-8.02 (03 May 2010)
32 +
33 + 03 May 2010; Patrick Lauer <patrick@g.o> +libpcre-8.02.ebuild:
34 + Bump for #311077
35
36 21 Oct 2009; Peter Alfredsen <loki_val@g.o> -libpcre-7.8.ebuild,
37 -libpcre-7.8-r2.ebuild, libpcre-7.9-r1.ebuild, libpcre-8.00.ebuild:
38
39
40
41 1.1 dev-libs/libpcre/libpcre-8.02.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/libpcre-8.02.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/libpcre-8.02.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libpcre-8.02.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.02.ebuild,v 1.1 2010/05/03 20:15:39 patrick Exp $
51
52 EAPI=2
53
54 inherit libtool eutils toolchain-funcs
55
56 DESCRIPTION="Perl-compatible regular expression library"
57 HOMEPAGE="http://www.pcre.org/"
58 if [[ ${PV} == ${PV/_rc} ]]
59 then
60 MY_P="pcre-${PV}"
61 SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
62 else
63 MY_P="pcre-${PV/_rc/-RC}"
64 SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
65 fi
66 LICENSE="BSD"
67 SLOT="3"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
69 IUSE="bzip2 +cxx unicode zlib static-libs"
70
71 RDEPEND="bzip2? ( app-arch/bzip2 )
72 zlib? ( sys-libs/zlib )"
73 DEPEND="${RDEPEND}
74 dev-util/pkgconfig
75 userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
76
77 S=${WORKDIR}/${MY_P}
78
79 src_prepare() {
80 sed -i -e "s:libdir=@libdir@:libdir=/$(get_libdir):" libpcre.pc.in || die "Fixing libpcre pkgconfig files failed"
81 sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die "Fixing libpcrecpp pkgconfig files failed"
82 }
83
84 src_configure() {
85 econf --with-match-limit-recursion=8192 \
86 $(use_enable unicode utf8) $(use_enable unicode unicode-properties) \
87 $(use_enable cxx cpp) \
88 $(use_enable zlib pcregrep-libz) \
89 $(use_enable bzip2 pcregrep-libbz2) \
90 $(use_enable static-libs static) \
91 --enable-shared \
92 --htmldir=/usr/share/doc/${PF}/html \
93 --docdir=/usr/share/doc/${PF} \
94 || die "econf failed"
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install || die "make install failed"
99 gen_usr_ldscript -a pcre
100 find "${D}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
101 }
102
103 pkg_postinst() {
104 elog "This version of ${PN} has stopped installing .la files. This may"
105 elog "cause compilation failures in other packages. To fix this problem,"
106 elog "install dev-util/lafilefixer and run:"
107 elog "lafilefixer --justfixit"
108 }