blob: efac7aea61c262b3f5d5f2f69c9764d019e3e60e (
plain)
1 # Description: Perl Compatible Regular Expressions
2 # URL: https://www.pcre.org
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4
5 name=libpcre
6 version=8.45
7 release=1
8 source=(https://downloads.sourceforge.net/project/pcre/pcre/$version/pcre-$version.tar.bz2)
9
10 build() {
11 cd pcre-$version
12
13 ./configure \
14 --prefix=/usr \
15 --enable-utf8 \
16 --enable-unicode-properties \
17 --enable-jit
18 make
19 make DESTDIR=$PKG install
20
21 install -d $PKG/lib
22 mv $PKG/usr/lib/libpcre.so.* $PKG/lib
23 ln -sf ../../lib/$(readlink $PKG/usr/lib/libpcre.so) $PKG/usr/lib/libpcre.so
24
25 rm -r $PKG/usr/share/doc
26 rm $PKG/usr/share/man/man3/{pcre{16,32}*,pcre_utf{16,32}*}
27 }
|