diff options
author | Tony Theodore <tonyt@logyst.com> | 2012-04-15 16:39:35 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-04-15 16:39:35 (GMT) |
commit | c829fb9b46ad541cb6c85c2395d72f7b0c06304e (patch) | |
tree | c219dc05248beac39599767c0c50edc64c7f1ee4 | |
parent | b6556a064e56887ee58ca74578cbbe6cf2c349d4 (diff) | |
download | mxe-c829fb9b46ad541cb6c85c2395d72f7b0c06304e.zip mxe-c829fb9b46ad541cb6c85c2395d72f7b0c06304e.tar.gz mxe-c829fb9b46ad541cb6c85c2395d72f7b0c06304e.tar.bz2 |
package ncurses:fix update macro
-rw-r--r-- | src/ncurses.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ncurses.mk b/src/ncurses.mk index 959e918..f9fef70 100644 --- a/src/ncurses.mk +++ b/src/ncurses.mk @@ -13,8 +13,8 @@ $(PKG)_URL := http://ftp.gnu.org/pub/gnu/ncurses/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE - wget -q -O- 'http://www.gnu.org/software/ncurses/' | \ - $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + wget -q -O- 'http://ftp.gnu.org/pub/gnu/ncurses/?C=M;O=D' | \ + $(SED) -n 's,.*<a href="ncurses-\([0-9][^"]*\)\.tar.*,\1,p' | \ head -1 endef |