fix UPDATE macro: libidn, libidn2

This commit is contained in:
Mark Brand 2019-01-01 18:03:09 +01:00
parent 158ca6cb40
commit bf178316a8
2 changed files with 2 additions and 3 deletions

View File

@ -14,8 +14,7 @@ $(PKG)_DEPS := cc gettext libiconv
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://git.savannah.gnu.org/gitweb/?p=libidn.git;a=tags' | \
grep '<a class="list subject"' | \
$(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \
$(SED) -n 's,.*<a[^>]*>\(Release \)\?\([0-9][^<]*\)<.*,\2,p' | \
head -1
endef

View File

@ -12,7 +12,7 @@ $(PKG)_URL := https://ftp.gnu.org/gnu/libidn/$($(PKG)_FILE)
$(PKG)_DEPS := cc libiconv libunistring
define $(PKG)_UPDATE
$(WGET) -q -O- https://alpha.gnu.org/gnu/libidn/ | \
$(WGET) -q -O- https://gitlab.com/libidn/libidn2/tags | \
$(SED) -n 's,.*libidn2-\([0-9][^t]*\).tar.gz.*,\1,p' | \
head -1
endef