CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libpcre: updated to 8.31 and aligned with upstream
[crossrootfs.git] / libpcre / Pkgfile
index 07bee6d4b316454c86d607e704cc0ba5f0bfb403..dfab1eccf03789fc2198abce862694185856b5ba 100644 (file)
@@ -5,7 +5,7 @@
 # Depends on:
 
 name=libpcre
-version=8.01
+version=8.31
 release=1
 source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$version.tar.bz2)
 
@@ -17,9 +17,19 @@ build() {
               --prefix=/usr \
               --mandir=/usr/man \
               --enable-utf8 \
-              --enable-unicode-properties
+              --enable-unicode-properties \
+              --enable-jit
+
   make
   make DESTDIR=$PKG install
   
+  install -d $PKG/lib
+  local lib
+  for lib in libpcre libpcrecpp libpcreposix ; do
+    mv $PKG/usr/lib/${lib}.so* $PKG/lib
+    ln -sf ../../lib/$(readlink $PKG/lib/${lib}.so) $PKG/usr/lib/${lib}.so
+    rm $PKG/lib/${lib}.so
+  done
+
   rm -r $PKG/usr/share
 }