blob: 8b120e49deeb21fa952e19ebd39e9daa14450f78 (
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=libpcre2
6 version=10.41
7 release=1
8 source=(https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$version/pcre2-$version.tar.gz)
9
10 build() {
11 cd pcre2-$version
12
13 ./configure \
14 --prefix=/usr \
15 --enable-jit \
16 --enable-pcre2-16 \
17 --enable-pcre2-32
18
19 make
20 make DESTDIR=$PKG install
21
22 install -d $PKG/lib
23 mv $PKG/usr/lib/libpcre2-8.so.* $PKG/lib
24 ln -sf ../../lib/$(readlink $PKG/usr/lib/libpcre2-8.so) $PKG/usr/lib/libpcre2-8.so
25
26 rm -r $PKG/usr/share/doc
27 }
|