mirror of https://git.wownero.com/dsc/mxe.git
fix UPDATE macro for pcre, pcre2
This commit is contained in:
parent
906e7d80f2
commit
73404945b0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue