X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libpcre%2FPkgfile;h=94e40883cf51824214e754166252a6a0ca6b7f45;hb=a11d64f24049d3e681a337c1ba26332ffd2652b4;hp=5058735470970bf155ec09b661fd52f356b1dac8;hpb=9efe8defdf67837dec1bc62776b4648ba02b92c7;p=crossrootfs.git diff --git a/libpcre/Pkgfile b/libpcre/Pkgfile index 5058735..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.00 +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}*} }