1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-20 20:46:13 +02:00
build/pkg/pcre2/build
David Oberhollenzer 29a79dcb3c Fix wrong usage of check_update_simple
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-07-07 16:17:16 +02:00

26 lines
571 B
Plaintext
Executable file

VERSION="10.33"
SRCDIR="pcre2-${VERSION}"
TARBALL="${SRCDIR}.tar.bz2"
URL="https://ftp.pcre.org/pub/pcre"
SHA256SUM="35514dff0ccdf02b55bd2e9fa586a1b9d01f62332c3356e379eabb75f789d8aa"
DEPENDS="toolchain"
SUBPKG="pcre2-16 pcre2-16-dev pcre2-32 pcre2-32-dev pcre2-posix pcre2-posix-dev"
prepare() {
return
}
build() {
run_configure "$1" --enable-pcre2-16 --enable-pcre2-32
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "pcre2" "tar.bz2"
}