2021-12-28 17:01:22 +01:00
|
|
|
# Description: Perl Compatible Regular Expressions
|
2021-12-11 22:33:03 +01:00
|
|
|
# URL: https://www.pcre.org
|
2021-12-28 17:01:22 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
|
|
|
|
name=libpcre2
|
2022-04-16 12:20:14 +02:00
|
|
|
version=10.40
|
|
|
|
release=1
|
2021-12-28 17:01:22 +01:00
|
|
|
source=(https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$version/pcre2-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd pcre2-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-jit \
|
|
|
|
--enable-pcre2-16 \
|
|
|
|
--enable-pcre2-32
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
install -d $PKG/lib
|
|
|
|
mv $PKG/usr/lib/libpcre2-8.so.* $PKG/lib
|
|
|
|
ln -sf ../../lib/$(readlink $PKG/usr/lib/libpcre2-8.so) $PKG/usr/lib/libpcre2-8.so
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
}
|