mirror of https://git.wownero.com/dsc/mxe.git
bugfix: fixed version recognition of package 'libiconv'
This commit is contained in:
parent
99f882b59c
commit
05c6b90476
|
@ -9,10 +9,10 @@ $(PKG)_URL := http://ftp.gnu.org/pub/gnu/libiconv/$($(PKG)_FILE)
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://ftp.gnu.org/pub/gnu/libiconv/' | \
|
||||
$(SED) -n 's,.*libiconv-\([0-9]*\)\.\([0-9]*\)\(\.[0-9]*\)\.tar.*,\1.\2\3,p' | \
|
||||
sort -n | \
|
||||
tail -1
|
||||
wget -q -O- 'http://www.gnu.org/software/libiconv/' | \
|
||||
grep 'libiconv-' | \
|
||||
$(SED) -n 's,.*libiconv-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
Loading…
Reference in New Issue