# Maintainer: PktSurf app=pcre version=8.44 build=1sml homepage="https://www.pcre.org/" download="https://ftp.pcre.org/pub/pcre/pcre-$version.tar.gz" desc="Perl-compatible regular expression library" requires="zlib bzip2" # Grep would like to link against libpcre.a preservestaticlibs=1 prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix=/usr \ --enable-pcre16 \ --enable-pcre32 \ --enable-pcregrep-libbz2 \ --enable-pcretest-libreadline \ --enable-unicode-properties \ --enable-pcregrep-libz make make install DESTDIR=$pkg mkfinalpkg } sha512sums=" 3364fad3a6dff8b97bbd712a9bbfec28813eb41af3dadde631b572a6bc0595feed2e02e3eeb6f0bddea09ad8802c97933949fdaf94ea258a575cbce1e1af815d pcre-8.44.tar.lz "