From e483757fce4fce523dcac8548f1e3e1a03205086 Mon Sep 17 00:00:00 2001 From: sibel Date: Wed, 5 Jan 2011 16:08:18 +0100 Subject: pcre, maj 8.11-1 --- base/pcre/.footprint | 5 ++++- base/pcre/.md5sum | 2 +- base/pcre/Pkgfile | 11 +++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) (limited to 'base') diff --git a/base/pcre/.footprint b/base/pcre/.footprint index 663065182..2e68b7d8b 100644 --- a/base/pcre/.footprint +++ b/base/pcre/.footprint @@ -1,3 +1,6 @@ +drwxr-xr-x root/root lib/ +lrwxrwxrwx root/root lib/libpcre.so.0 -> libpcre.so.0.0.1 +-rwxr-xr-x root/root lib/libpcre.so.0.0.1 drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/pcre-config @@ -13,7 +16,7 @@ drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libpcre.a -rwxr-xr-x root/root usr/lib/libpcre.la -lrwxrwxrwx root/root usr/lib/libpcre.so -> libpcre.so.0.0.1 +lrwxrwxrwx root/root usr/lib/libpcre.so -> ../../lib/libpcre.so.0 lrwxrwxrwx root/root usr/lib/libpcre.so.0 -> libpcre.so.0.0.1 -rwxr-xr-x root/root usr/lib/libpcre.so.0.0.1 -rw-r--r-- root/root usr/lib/libpcrecpp.a diff --git a/base/pcre/.md5sum b/base/pcre/.md5sum index c44e3518c..448018765 100644 --- a/base/pcre/.md5sum +++ b/base/pcre/.md5sum @@ -1 +1 @@ -780867a700e9d4e4b9cb47aa5453e4b2 pcre-8.10.tar.bz2 +ef907b8792ec7f90f0dcd773848f0b3b pcre-8.11.tar.bz2 diff --git a/base/pcre/Pkgfile b/base/pcre/Pkgfile index 305423643..c2d870e4a 100755 --- a/base/pcre/Pkgfile +++ b/base/pcre/Pkgfile @@ -5,14 +5,16 @@ # Depends on: name=pcre -version=8.10 +version=8.11 release=1 source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 ) build() { - cd $name-$version + + [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC" + ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -24,4 +26,9 @@ build() { 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 } -- cgit v1.2.3-54-g00ecf