From 6073548905b40808538119db9ac7b140f1b65ab6 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Wed, 15 Oct 2014 23:53:43 -0400 Subject: [PATCH] vigra: Fix update macro Signed-off-by: Timothy Gu --- src/vigra.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/vigra.mk b/src/vigra.mk index 0bd8976b..3b041f2c 100644 --- a/src/vigra.mk +++ b/src/vigra.mk @@ -11,11 +11,12 @@ $(PKG)_URL := http://hci.iwr.uni-heidelberg.de/vigra-old-versions/$($(PKG)_ $(PKG)_DEPS := gcc jpeg tiff libpng openexr define $(PKG)_UPDATE - $(WGET) -q -O- 'http://hci.iwr.uni-heidelberg.de/vigra/' | \ - grep 'Sources' | \ - grep ']*\)".*,\1,p' | \ + tr '-' '.' | \ + $(SORT) -Vr | \ + head -1 endef define $(PKG)_BUILD