mxml: update from 2.9 to 2.10 + fix pkg url

This commit is contained in:
Boris Pek 2017-03-09 22:36:20 +03:00
parent a26337b689
commit 77c8f14f1f
1 changed files with 4 additions and 4 deletions

View File

@ -4,16 +4,16 @@ PKG := mxml
$(PKG)_WEBSITE := https://michaelrsweet.github.io/
$(PKG)_DESCR := Mini-XML
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.9
$(PKG)_CHECKSUM := cded54653c584b24c4a78a7fa1b3b4377d49ac4f451ddf170ebbc8161d85ff92
$(PKG)_VERSION := 2.10
$(PKG)_CHECKSUM := 267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/michaelrsweet/mxml/releases/download/release-$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc pthreads
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://www.msweet.org/downloads.php?L+Z3' | \
$(SED) -n 's,.*<a href="files.*mxml-\([0-9\.]*\)\.tar.*,\1,p' | \
$(WGET) -q -O- 'https://github.com/michaelrsweet/mxml/releases' | \
$(SED) -n 's,.*mxml/releases/download/release-.*/mxml-\([0-9\.]*\)\.tar.*,\1,p' | \
head -1
endef