2019-03-09 23:09:30 +01:00
|
|
|
VERSION="8.43"
|
2018-10-03 16:29:08 +02:00
|
|
|
SRCDIR="pcre-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.bz2"
|
|
|
|
URL="https://ftp.pcre.org/pub/pcre"
|
2019-03-09 23:09:30 +01:00
|
|
|
SHA256SUM="91e762520003013834ac1adb4a938d53b22a216341c061b0cf05603b290faf6b"
|
2019-02-28 09:11:07 +01:00
|
|
|
DEPENDS="toolchain libstdc++-dev"
|
|
|
|
SUBPKG="pcre pcre-dev pcre++ pcre++-dev"
|
2018-10-03 16:29:08 +02:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
run_configure "$1"
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-10-03 16:29:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L "$URL" | grep -o ">pcre-[0-9.]*tar.bz2<" | \
|
|
|
|
sed 's/>pcre-//g' | sed 's/.tar.bz2<//g' | \
|
|
|
|
verson_find_greatest "$VERSION"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|