summaryrefslogtreecommitdiffstats
path: root/base/pcre
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-05 16:08:18 +0100
committersibel <lesibel@free.fr>2011-01-05 16:08:18 +0100
commite483757fce4fce523dcac8548f1e3e1a03205086 (patch)
tree1f49f1e33fbb6dd53a626c3aab0c12c69b395253 /base/pcre
parenta6af705998694a4c44508d32fca8257a75ce15ec (diff)
downloadnutyx-pakxe-e483757fce4fce523dcac8548f1e3e1a03205086.tar.gz
nutyx-pakxe-e483757fce4fce523dcac8548f1e3e1a03205086.tar.bz2
nutyx-pakxe-e483757fce4fce523dcac8548f1e3e1a03205086.tar.xz
nutyx-pakxe-e483757fce4fce523dcac8548f1e3e1a03205086.zip
pcre, maj 8.11-1
Diffstat (limited to 'base/pcre')
-rw-r--r--base/pcre/.footprint5
-rw-r--r--base/pcre/.md5sum2
-rwxr-xr-xbase/pcre/Pkgfile11
3 files changed, 14 insertions, 4 deletions
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
}