X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=libpcre%2FPkgfile;h=94e40883cf51824214e754166252a6a0ca6b7f45;hb=cf9c533355efead49b9b224079a394d2a7b5623d;hp=28c6673b63afa065207716dec54e9e2f63ad9482;hpb=2604216ae55a984b5d75da18af0732e4a4834b72;p=crossrootfs.git diff --git a/libpcre/Pkgfile b/libpcre/Pkgfile index 28c6673..94e4088 100644 --- a/libpcre/Pkgfile +++ b/libpcre/Pkgfile @@ -1,25 +1,32 @@ # Description: Perl Compatible Regular Expressions # URL: http://www.pcre.org # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: name=libpcre -version=8.01 +version=8.40 release=1 source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$version.tar.bz2) + build() { cd pcre-$version ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ - --mandir=/usr/man \ --enable-utf8 \ - --enable-unicode-properties + --enable-unicode-properties \ + --enable-jit + make make DESTDIR=$PKG install - rm -r $PKG/usr/share + install -d $PKG/lib + mv $PKG/usr/lib/libpcre.so.* $PKG/lib + ln -sf ../../lib/$(readlink $PKG/usr/lib/libpcre.so) $PKG/usr/lib/libpcre.so + + rm -r $PKG/usr/share/doc + rm $PKG/usr/share/man/man3/{pcre{16,32}*,pcre_utf{16,32}*} }