mirror of https://git.wownero.com/dsc/mxe.git
package flann: add update script
This commit is contained in:
parent
da70a93b92
commit
bd82af712f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue