From 72c120e6230e0389de74e3baced86117d0c5f96f Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 09:28:55 +0100 Subject: Recette de libprce mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libpcre/Pkgfile | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'libpcre/Pkgfile') diff --git a/libpcre/Pkgfile b/libpcre/Pkgfile index 4fdbfd0..27cc16e 100644 --- a/libpcre/Pkgfile +++ b/libpcre/Pkgfile @@ -1,18 +1,26 @@ -description="Perl Compatible Regular Expressions" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Perl Compatible Regular Expressions." +packager="CRUX System Team " +maintainer="Lukc " url="http://www.pcre.org" depends=() name=libpcre version=8.10 release=1 -source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.bz2) +source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/${name/lib}/${name/lib}-$version.tar.bz2) build () { - cd pcre-$version; - ./configure --prefix=/usr --mandir=/usr/man --enable-utf8 --enable-unicode-properties; - make; - make DESTDIR=$PKG install; - rm -r $PKG/usr/share + cd pcre-$version; + # WARNING: If /bin/sh is zsh and zsh is built with pcre support, + # +++++++ the package must be built without prefix, and libs will + # +++++++ have to be installe in /lib. + # +++++++ The documentation and headears, however, can be kept in + # +++++++ /usr/includes, /usr/share, etc. + ./configure \ + --prefix=$prefix \ + --mandir=$mandir \ + --enable-utf8 \ + --enable-unicode-properties; + make; + make DESTDIR=$PKG install; } -- cgit v1.2.3-70-g09d2