mirror of https://git.wownero.com/dsc/mxe.git
termcap: Fix update routine
This commit is contained in:
parent
90ff00c16b
commit
8d14d4e6a4
|
@ -11,7 +11,10 @@ $(PKG)_URL := http://ftp.gnu.org/gnu/termcap/$($(PKG)_FILE)
|
||||||
$(PKG)_DEPS := gcc
|
$(PKG)_DEPS := gcc
|
||||||
|
|
||||||
define $(PKG)_UPDATE
|
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
|
endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
|
|
Loading…
Reference in New Issue