summaryrefslogtreecommitdiffstats
path: root/pcre/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pcre/Pkgfile')
-rwxr-xr-xpcre/Pkgfile11
1 files changed, 6 insertions, 5 deletions
diff --git a/pcre/Pkgfile b/pcre/Pkgfile
index c724fa3ef..59f72890a 100755
--- a/pcre/Pkgfile
+++ b/pcre/Pkgfile
@@ -5,9 +5,9 @@
# Depends on:
name=pcre
-version=8.30
+version=8.31
release=1
-source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 )
+source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$name-$version.tar.bz2)
build() {
@@ -22,13 +22,14 @@ build() {
--enable-utf8 \
--enable-unicode-properties \
--enable-pcregrep-libz \
- --enable-pcregrep-libbz2
+ --enable-pcregrep-libbz2 \
+ --enable-pcre16 \
+ --enable-jit
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
# grep uses pcre, so we need the libs in /lib
install -dm755 $PKG/lib
- cp -a $PKG/usr/lib/libpcre.so.* $PKG/lib/
- ln -sf ../../lib/libpcre.so.0 $PKG/usr/lib/libpcre.so
+ cp -a $PKG/usr/lib/libpcre.so* $PKG/lib/
}