# Maintainer: PktSurf app=pcre2 version=10.42 build=1sml homepage="https://www.pcre.org/" download="https://ftp.pcre.org/pub/pcre/pcre2-$version.tar.gz" desc="Perl-compatible regular expression library v2" requires="gcc-libs zlib bzip2 readline" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix=/usr \ --enable-pcre2-16 \ --enable-pcre2-32 \ --enable-jit \ --enable-pcre2grep-libz \ --enable-pcre2grep-libbz2 \ --enable-pcre2test-libreadline \ --with-match-limit-recursion=8192 \ --disable-static make make install DESTDIR=$pkg cp LICENCE $pkgdocs/ mkfinalpkg } sha512sums=" 0ece10943de49f52456c8c8cb51a60d9f00e2a6554643ac4c80d65d8adde7bcb394332c65a6076dfcadcfb23d0d7ac09b3643786bef27d7e4006e419f23e4bdf pcre2-10.42.tar.lz "