package libffi: fix update script

This commit is contained in:
Tony Theodore 2012-12-12 22:31:14 +11:00
parent 417513d50e
commit f938a64109
1 changed files with 2 additions and 2 deletions

View File

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