changeset 4973:9043136bc76e

Update update rules * src/libsigc++.mk, src/mpfr.mk: fix update rules
author John Donoghue
date Tue, 26 Feb 2019 10:46:18 -0500
parents c4f2fe0d56f1
children b105f055a6fe
files src/libsigc++.mk src/mpfr.mk
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/libsigc++.mk	Tue Feb 26 09:58:38 2019 -0500
+++ b/src/libsigc++.mk	Tue Feb 26 10:46:18 2019 -0500
@@ -11,8 +11,8 @@
 $(PKG)_DEPS     :=
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'https://github.com/GNOME/libsigcplusplus/tags' | \
-    $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \
+    $(WGET) -q -O- 'https://ftp.gnome.org/pub/gnome/sources/libsigc++/2.3/' | \
+    $(SED) -n 's,.*libsigc++-\(2[^>]*\)\.tar.*,\1,ip' | $(SORT) -V | \
     tail -1
 endef
 
--- a/src/mpfr.mk	Tue Feb 26 09:58:38 2019 -0500
+++ b/src/mpfr.mk	Tue Feb 26 10:46:18 2019 -0500
@@ -12,10 +12,10 @@
 $(PKG)_DEPS     := build-gcc gmp
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.mpfr.org/mpfr-current/#download' | \
-    grep 'mpfr-' | \
-    $(SED) -n 's,.*mpfr-\([0-9][^>]*\)\.tar.*,\1,p' | \
-    head -1
+    $(WGET) -q -O- 'https://gforge.inria.fr/scm/viewvc.php/mpfr/tags/' | \
+    $(SED) -n 's,.*tags/\([0-9][^/]*\).*,\1,p' |
+    $(SORT) -V | \
+    tail -1
 endef
 
 define $(PKG)_BUILD