summaryrefslogtreecommitdiffstats
path: root/libpcre/Pkgfile
blob: 53b7c191686f003dc32313ecce22044dcb97795e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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/${name/lib}/${name/lib}-$version.tar.bz2)
build () 
{ 
	cd pcre-$version;
	# Les bibliothèques sont installées dans /lib à cause de zsh.
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=$prefix \
		--libdir=${libdir/$prefix} \
		--mandir=$mandir \
		--enable-utf8 \
		--enable-unicode-properties;
	make;
	make DESTDIR=$PKG install;
}