core/libpcre2/Pkgfile

24 lines
463 B
Plaintext

# Description: Perl Compatible Regular Expressions
# URL: https://www.pcre.org
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=libpcre2
version=10.39
release=1
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
rm -r $PKG/usr/share/doc
}