CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libpcre: updated to 8.32 and aligned with upstream
[crossrootfs.git] / libpcre / Pkgfile
index dfab1eccf03789fc2198abce862694185856b5ba..98a8cad4416d069c1c304b31215ad65abe7916d1 100644 (file)
@@ -5,7 +5,7 @@
 # Depends on:
 
 name=libpcre
-version=8.31
+version=8.32
 release=1
 source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$version.tar.bz2)
 
@@ -24,12 +24,9 @@ build() {
   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
+  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
+  rm $PKG/usr/man/man3/{pcre{16,32}*,pcre_utf{16,32}*}
 }