summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-06-19 02:45:28 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-06-19 02:45:28 (GMT)
commit8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25 (patch)
treeccc289362a82bbeca9f0156b3f603d2fd0b20323
parent90ff00c16bc1dc9d9d68fabd6b6c5d1914b3f0ff (diff)
downloadmxe-8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25.zip
mxe-8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25.tar.gz
mxe-8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25.tar.bz2
termcap: Fix update routine
-rw-r--r--src/termcap.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/termcap.mk b/src/termcap.mk
index 57e0a09..94d16e5 100644
--- a/src/termcap.mk
+++ b/src/termcap.mk
@@ -11,7 +11,10 @@ $(PKG)_URL := http://ftp.gnu.org/gnu/termcap/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- /bin/false
+ $(WGET) -q -O- 'http://ftp.gnu.org/gnu/termcap/' | \
+ grep 'termcap-' | \
+ $(SED) -n 's,.*termcap-\([0-9][^>]*\)\.tar.*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD