package flann: add update script

This commit is contained in:
Tony Theodore 2012-12-12 21:11:21 +11:00
parent da70a93b92
commit bd82af712f
1 changed files with 4 additions and 2 deletions

View File

@ -10,8 +10,10 @@ $(PKG)_URL := http://people.cs.ubc.ca/~mariusm/uploads/FLANN/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
echo 'TODO: write update script for $(PKG).' >&2;
echo $($(PKG)_VERSION)
$(WGET) -q -O- 'http://people.cs.ubc.ca/~mariusm/index.php/FLANN/Changelog' | \
grep 'Version' | \
$(SED) -n 's,.*Version.\([0-9.]*\).*,\1,p' | \
head -1
endef
define $(PKG)_BUILD