From 4ab33e541c351f752e3a47dc4d0583aec749d85b Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Fri, 4 May 2012 02:43:52 +1000 Subject: package cminpack: fix update macro --- src/cminpack.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cminpack.mk b/src/cminpack.mk index edeae33..1452757 100644 --- a/src/cminpack.mk +++ b/src/cminpack.mk @@ -10,7 +10,9 @@ $(PKG)_URL := http://devernay.free.fr/hacks/cminpack/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE - echo 1 + wget -q -O- 'http://devernay.free.fr/hacks/cminpack/cminpack.html' | \ + $(SED) -n 's,.*cminpack-\([0-9.]*\)\.tar.*,\1,p' | \ + head -1 endef define $(PKG)_BUILD -- cgit v0.12