mirror of https://git.wownero.com/dsc/mxe.git
package libffi: fix update script
This commit is contained in:
parent
417513d50e
commit
f938a64109
|
@ -11,8 +11,8 @@ $(PKG)_DEPS := gcc
|
|||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'https://github.com/atgreen/libffi/tags' | \
|
||||
grep '<a href="/atgreen/libffi/tarball/' | \
|
||||
$(SED) -n 's,.*href="/atgreen/libffi/tarball/v\([0-9][^"]*\)".*,\1,p' | \
|
||||
grep '<a href="/atgreen/libffi/archive/' | \
|
||||
$(SED) -n 's,.*href="/atgreen/libffi/archive/v\([0-9][^"]*\)\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue