CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bindutils: updated to 9.5.5
[crossrootfs.git] / libpcre / Pkgfile
... / ...
CommitLineData
1# Description: Perl Compatible Regular Expressions
2# URL: http://www.pcre.org
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Depends on:
6
7name=libpcre
8version=8.32
9release=1
10source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$version.tar.bz2)
11
12build() {
13 cd pcre-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --enable-utf8 \
20 --enable-unicode-properties \
21 --enable-jit
22
23 make
24 make DESTDIR=$PKG install
25
26 install -d $PKG/lib
27 mv $PKG/usr/lib/libpcre.so.* $PKG/lib
28 ln -sf ../../lib/$(readlink $PKG/usr/lib/libpcre.so) $PKG/usr/lib/libpcre.so
29
30 rm -r $PKG/usr/share
31 rm $PKG/usr/man/man3/{pcre{16,32}*,pcre_utf{16,32}*}
32}