fix UPDATE macro for pcre, pcre2

This commit is contained in:
Mark Brand 2018-11-15 11:40:23 +01:00
parent 906e7d80f2
commit 73404945b0
2 changed files with 4 additions and 4 deletions

View File

@ -14,8 +14,8 @@ $(PKG)_DEPS := cc
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://ftp.pcre.org/pub/pcre/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
$(SED) -n 's,.*pcre-\([0-9]\+\)\(\.[0-9]\+\)*\.zip.*,\1\2,p' | \
tail -1
endef
define $(PKG)_BUILD_SHARED

View File

@ -14,8 +14,8 @@ $(PKG)_DEPS := cc
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://ftp.pcre.org/pub/pcre/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
head -1
$(SED) -n 's,.*pcre2-\([0-9]\+\)\(\.[0-9]\+\)*\.zip.*,\1\2,p' | \
tail -1
endef
define $(PKG)_BUILD_SHARED