diff src/msys-patch.mk @ 3561:ae4193aad5fe

revise and enable more $(PKG)_UPDATE rules
author John W. Eaton <jwe@octave.org>
date Sat, 08 Mar 2014 17:40:00 -0500
parents 13be64f9f16d
children
line wrap: on
line diff
--- a/src/msys-patch.mk	Fri Mar 07 17:38:19 2014 -0500
+++ b/src/msys-patch.mk	Sat Mar 08 17:40:00 2014 -0500
@@ -12,8 +12,9 @@
 $(PKG)_DEPS     := 
 
 define $(PKG)_UPDATE
-    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
-    echo $($(PKG)_VERSION)
+    $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/patch' | \
+    $(SED) -n 's,.*title="patch-\([0-9][^"]*\)".*,\1,p' | \
+    head -1
 endef
 
 define $(PKG)_BUILD