summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libffi.mk2
-rw-r--r--src/nettle.mk6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libffi.mk b/src/libffi.mk
index 511def3..09fc2bc 100644
--- a/src/libffi.mk
+++ b/src/libffi.mk
@@ -13,7 +13,7 @@ $(PKG)_URL := ftp://sourceware.org/pub/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- wget -q --no-check-certificate -O- 'http://github.com/atgreen/libffi/downloads' | \
+ wget -q --no-check-certificate -O- 'http://github.com/atgreen/libffi/tags' | \
grep '<a href="/atgreen/libffi/tarball/' | \
$(SED) -n 's,.*href="/atgreen/libffi/tarball/v\([0-9][^"]*\)".*,\1,p' | \
head -1
diff --git a/src/nettle.mk b/src/nettle.mk
index c59284e..1435239 100644
--- a/src/nettle.mk
+++ b/src/nettle.mk
@@ -13,9 +13,9 @@ $(PKG)_URL := http://www.lysator.liu.se/~nisse/archive/$($(PKG)_FILE)
$(PKG)_DEPS := gcc gmp
define $(PKG)_UPDATE
- wget -q -O- 'http://www.nettle.org/download.html' | \
- $(SED) -n 's,.*nettle-autoconf-\([0-9][^>]*\)\.tar.*,\1,p' | \
- head -1
+ wget -q -O- 'http://www.lysator.liu.se/~nisse/archive/' | \
+ $(SED) -n 's,.*nettle-\([0-9][^>]*\)\.tar.*,\1,p' | \
+ tail -1
endef
define $(PKG)_BUILD