smlinux/base/pcre/pcre.SMBuild

37 lines
No EOL
808 B
Text
Executable file

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"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-static \
--enable-pcre16 \
--enable-pcre32 \
--enable-pcregrep-libbz2 \
--enable-pcretest-libreadline \
--enable-unicode-properties \
--enable-pcregrep-libz
make
make install DESTDIR=$pkg
cp LICENCE $pkgdocs/
mkfinalpkg
}
sha512sums="
3364fad3a6dff8b97bbd712a9bbfec28813eb41af3dadde631b572a6bc0595feed2e02e3eeb6f0bddea09ad8802c97933949fdaf94ea258a575cbce1e1af815d pcre-8.44.tar.lz
"