summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-03-10 03:03:47 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-03-10 03:03:47 (GMT)
commitf3ac4763bd3d8efdcf70b578646aa989d21e77c7 (patch)
treebcde9125e6df444d144330396f9ac8b399a3dd19 /src
parentbdfc7d69da18a00ceee59e2b642d42eb0dfcf225 (diff)
downloadmxe-f3ac4763bd3d8efdcf70b578646aa989d21e77c7.zip
mxe-f3ac4763bd3d8efdcf70b578646aa989d21e77c7.tar.gz
mxe-f3ac4763bd3d8efdcf70b578646aa989d21e77c7.tar.bz2
jansson: add update script
Diffstat (limited to 'src')
-rw-r--r--src/jansson.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jansson.mk b/src/jansson.mk
index 18f3e92..ce9ecd2 100644
--- a/src/jansson.mk
+++ b/src/jansson.mk
@@ -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