# $Id$ PNAME="libpcre2" PVER="10.33" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="PCRE - Perl Compatible Regular Expressions." HOMEPAGE="http://www.pcre.org/" DEPEND=">= sys-libs/libstdc++-8.2 >= sys-libs/readline-8.0 >= sys-libs/zlib-1.2.8 >= app-arch/bzip2-1" SRCFILE="${PNAME/lib/}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}" sminclude mbuild SRC_URI=( https://ftp.pcre.org/pub/pcre/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd https://ftp.pcre.org/pub/pcre/ | grep '${PNAME/lib/}-' | highesttarball" src_compile() { cd ${SRCDIR} mconfigure \ --enable-pcre2-16 \ --enable-pcre2-32 \ --enable-jit \ --enable-pcre2grep-libz \ --enable-pcre2grep-libbz2 \ --enable-pcre2test-libreadline \ || die mmake || die }