package ncurses:fix update macro

This commit is contained in:
Tony Theodore 2012-04-16 02:39:35 +10:00
parent b6556a064e
commit c829fb9b46
1 changed files with 2 additions and 2 deletions

View File

@ -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