mirror of https://git.wownero.com/dsc/mxe.git
package ncurses:fix update macro
This commit is contained in:
parent
b6556a064e
commit
c829fb9b46
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue