summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libiconv.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libiconv.mk b/src/libiconv.mk
index 04df747..9ec9096 100644
--- a/src/libiconv.mk
+++ b/src/libiconv.mk
@@ -9,10 +9,10 @@ $(PKG)_URL := http://ftp.gnu.org/pub/gnu/libiconv/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- wget -q -O- 'http://ftp.gnu.org/pub/gnu/libiconv/' | \
- $(SED) -n 's,.*libiconv-\([0-9]*\)\.\([0-9]*\)\(\.[0-9]*\)\.tar.*,\1.\2\3,p' | \
- sort -n | \
- tail -1
+ wget -q -O- 'http://www.gnu.org/software/libiconv/' | \
+ grep 'libiconv-' | \
+ $(SED) -n 's,.*libiconv-\([0-9][^>]*\)\.tar.*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD