Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libpcre: ChangeLog libpcre-7.4-r1.ebuild
Date: Sun, 18 Nov 2007 21:32:04
Message-Id: E1Itrb5-0005OB-KP@stork.gentoo.org
1 flameeyes 07/11/18 21:22:31
2
3 Modified: ChangeLog
4 Added: libpcre-7.4-r1.ebuild
5 Log:
6 Add new ebuild, using EAPI=1. This version installs the documentation in the correct place, and more importantly adds a +cxx USE flag that allows to enable/disable the C++ bindings.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.115 dev-libs/libpcre/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.115&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?rev=1.115&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/ChangeLog?r1=1.114&r2=1.115
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v
19 retrieving revision 1.114
20 retrieving revision 1.115
21 diff -u -r1.114 -r1.115
22 --- ChangeLog 14 Oct 2007 15:56:37 -0000 1.114
23 +++ ChangeLog 18 Nov 2007 21:22:30 -0000 1.115
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-libs/libpcre
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.114 2007/10/14 15:56:37 corsair Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/ChangeLog,v 1.115 2007/11/18 21:22:30 flameeyes Exp $
29 +
30 +*libpcre-7.4-r1 (18 Nov 2007)
31 +
32 + 18 Nov 2007; Diego Pettenò <flameeyes@g.o> +libpcre-7.4-r1.ebuild:
33 + Add new ebuild, using EAPI=1. This version installs the documentation in the
34 + correct place, and more importantly adds a +cxx USE flag that allows to
35 + enable/disable the C++ bindings.
36
37 14 Oct 2007; Markus Rothe <corsair@g.o> libpcre-7.3-r1.ebuild:
38 Stable on ppc64; bug #195416
39
40
41
42 1.1 dev-libs/libpcre/libpcre-7.4-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/libpcre-7.4-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libpcre/libpcre-7.4-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libpcre-7.4-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-7.4-r1.ebuild,v 1.1 2007/11/18 21:22:31 flameeyes Exp $
52
53 EAPI=1
54
55 inherit libtool eutils
56
57 MY_P="pcre-${PV}"
58
59 DESCRIPTION="Perl-compatible regular expression library"
60 HOMEPAGE="http://www.pcre.org/"
61 SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
62
63 LICENSE="BSD"
64 SLOT="3"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
66 IUSE="doc unicode +cxx"
67
68 DEPEND="dev-util/pkgconfig"
69 RDEPEND=""
70
71 S=${WORKDIR}/${MY_P}
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76 elibtoolize
77 }
78
79 src_compile() {
80 if use unicode; then
81 myconf="--enable-utf8 --enable-unicode-properties"
82 fi
83 myconf="${myconf} --with-match-limit-recursion=8192"
84 # Enable building of static libs too - grep and others
85 # depend on them being built: bug 164099
86 econf ${myconf} \
87 $(use_enable cxx cpp) \
88 --enable-static \
89 --htmldir=/usr/share/doc/${PF}/html \
90 --docdir=/usr/share/doc/${PF} \
91 || die "econf failed"
92 emake all || die "emake failed"
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" install || die "make install failed"
97
98 dodoc doc/*.txt AUTHORS
99 use doc && dohtml doc/html/*
100 }
101
102
103
104 --
105 gentoo-commits@g.o mailing list