diff src/gnuplot.mk @ 4580:5875a3c3404c

update additional PKG_UPDATE rules * src/blas.mk (PKG_UPDATE): add actual check for blas version * src/gnuplot.mk (PKG_UPDATE): implement working macro * src/libarchive.mk, src/librsvg.mk: update PKG_UPDATE macro
author John Donoghue <john.donoghue@ieee.org>
date Sun, 17 Dec 2017 17:09:44 -0500
parents 0fdeee4cfe11
children dc3eb553f5e9
line wrap: on
line diff
--- a/src/gnuplot.mk	Thu Dec 07 15:10:57 2017 -0500
+++ b/src/gnuplot.mk	Sun Dec 17 17:09:44 2017 -0500
@@ -28,8 +28,9 @@
 endif
 
 define $(PKG)_UPDATE
-    echo 'Warning: Updates are temporarily disabled for package gnuplot.' >&2;
-    echo $(gnuplot_VERSION)
+    $(WGET) -q -O- 'http://sourceforge.net/projects/gnuplot/files/gnuplot/' | \
+    $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+    head -1
 endef
 
 ifeq ($(MXE_SYSTEM),mingw)