summaryrefslogtreecommitdiffstats
path: root/libpcre/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 09:28:55 +0100
committerLukc <lukc@upyum.com>2010-12-12 09:28:55 +0100
commit72c120e6230e0389de74e3baced86117d0c5f96f (patch)
tree35aa9933bd4e981b0f39f2a020a7da0e94f1d87e /libpcre/Pkgfile
parenteb6cb23a9a2d6eafd6a31ad61724f45c5d3ed9b6 (diff)
downloadbase-72c120e6230e0389de74e3baced86117d0c5f96f.tar.gz
base-72c120e6230e0389de74e3baced86117d0c5f96f.tar.bz2
base-72c120e6230e0389de74e3baced86117d0c5f96f.tar.xz
base-72c120e6230e0389de74e3baced86117d0c5f96f.zip
Recette de libprce mise à jour.
Diffstat (limited to 'libpcre/Pkgfile')
-rw-r--r--libpcre/Pkgfile26
1 files changed, 17 insertions, 9 deletions
diff --git a/libpcre/Pkgfile b/libpcre/Pkgfile
index 4fdbfd0..27cc16e 100644
--- a/libpcre/Pkgfile
+++ b/libpcre/Pkgfile
@@ -1,18 +1,26 @@
-description="Perl Compatible Regular Expressions"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="Perl Compatible Regular Expressions."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.pcre.org"
depends=()
name=libpcre
version=8.10
release=1
-source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.bz2)
+source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/${name/lib}/${name/lib}-$version.tar.bz2)
build ()
{
- cd pcre-$version;
- ./configure --prefix=/usr --mandir=/usr/man --enable-utf8 --enable-unicode-properties;
- make;
- make DESTDIR=$PKG install;
- rm -r $PKG/usr/share
+ cd pcre-$version;
+ # WARNING: If /bin/sh is zsh and zsh is built with pcre support,
+ # +++++++ the package must be built without prefix, and libs will
+ # +++++++ have to be installe in /lib.
+ # +++++++ The documentation and headears, however, can be kept in
+ # +++++++ /usr/includes, /usr/share, etc.
+ ./configure \
+ --prefix=$prefix \
+ --mandir=$mandir \
+ --enable-utf8 \
+ --enable-unicode-properties;
+ make;
+ make DESTDIR=$PKG install;
}