jansson: add update script

This commit is contained in:
Timothy Gu 2015-03-09 20:03:47 -07:00
parent bdfc7d69da
commit f3ac4763bd
1 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ $(PKG)_URL := http://www.digip.org/$(PKG)/releases/$($(PKG)_FILE)
$(PKG)_DEPS := gcc autoconf automake libtool
define $(PKG)_UPDATE
echo 'TODO: write update script for $(PKG).' >&2;
echo $($(PKG)_VERSION)
$(WGET) -q -O- 'http://www.digip.org/jansson/' | \
$(SED) -n 's,.*/jansson-\([0-9][^>]*\)\.tar\.bz2.*,\1,p' | \
tail -1
endef
define $(PKG)_BUILD