diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-13 05:22:01 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-13 05:22:01 +0000 |
commit | 1d22e1ee89f353267d2868afd705726f5c6eaf33 (patch) | |
tree | 8f7d97f5d7bbf0babc6c1c53ef67dba968cde050 /dev-libs/libpcre/libpcre-4.5.ebuild | |
parent | Added to ~sparc. Closes bug #38396. (diff) | |
download | historical-1d22e1ee89f353267d2868afd705726f5c6eaf33.tar.gz historical-1d22e1ee89f353267d2868afd705726f5c6eaf33.tar.bz2 historical-1d22e1ee89f353267d2868afd705726f5c6eaf33.zip |
Version bump closes bug #56791.
Diffstat (limited to 'dev-libs/libpcre/libpcre-4.5.ebuild')
-rw-r--r-- | dev-libs/libpcre/libpcre-4.5.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/libpcre/libpcre-4.5.ebuild b/dev-libs/libpcre/libpcre-4.5.ebuild new file mode 100644 index 000000000000..3ec6997d6788 --- /dev/null +++ b/dev-libs/libpcre/libpcre-4.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-4.5.ebuild,v 1.1 2004/07/13 05:22:01 eradicator Exp $ + +inherit libtool flag-o-matic eutils + +DESCRIPTION="Perl-compatible regular expression library" +HOMEPAGE="http://www.pcre.org/" +SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${PV}.tar.bz2" + +LICENSE="as-is" +SLOT="3" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390 ~mips" +IUSE="" + +DEPEND="virtual/libc" + +S=${WORKDIR}/pcre-${PV} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/pcre-4.4-uclibc-tuple.patch + epatch ${FILESDIR}/pcre-4.2-link.patch +} + +src_compile() { + # position-independent code must used for all shared objects. + append-flags -fPIC + elibtoolize + econf --enable-utf8 || die + make || die +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS INSTALL NON-UNIX-USE + dodoc doc/*.txt + dodoc doc/Tech.Notes + dohtml -r doc +} |