diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-06-19 02:45:28 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-06-19 02:45:28 (GMT) |
commit | 8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25 (patch) | |
tree | ccc289362a82bbeca9f0156b3f603d2fd0b20323 /src/termcap.mk | |
parent | 90ff00c16bc1dc9d9d68fabd6b6c5d1914b3f0ff (diff) | |
download | mxe-8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25.zip mxe-8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25.tar.gz mxe-8d14d4e6a4cda9ada9cfbe5178dfb5498efc1f25.tar.bz2 |
termcap: Fix update routine
Diffstat (limited to 'src/termcap.mk')
-rw-r--r-- | src/termcap.mk | 5 |
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 |