changeset 5140:d461d2670df7

* src/epstool.mk: implement update rule
author John Donoghue
date Fri, 09 Aug 2019 11:09:27 -0400
parents 1d78513f2bd1
children 2616f5722afe
files src/epstool.mk
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/epstool.mk	Fri Aug 09 11:03:59 2019 -0400
+++ b/src/epstool.mk	Fri Aug 09 11:09:27 2019 -0400
@@ -10,8 +10,9 @@
 $(PKG)_DEPS     := 
 
 define $(PKG)_UPDATE
-    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
-    echo $($(PKG)_VERSION)
+    $(WGET) -q -O- 'http://www.ghostgum.com.au/software/epstool.htm' | \
+    $(SED) -n 's|.*download/epstool-\([0-9].*\)\.tar\.gz\".*|\1|p' | \
+    tail -1
 endef
 
 define $(PKG)_BUILD