package armadillo: fix update macro

This commit is contained in:
Mark Brand 2012-09-20 20:17:44 +02:00
parent bf668ad08e
commit a0b90c6bc2
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/arma/$($(PKG)_FILE)
$(PKG)_DEPS := gcc boost blas lapack
define $(PKG)_UPDATE
wget -q -O- 'http://sourceforge.net/projects/arma/files/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
$(WGET) -q -O- 'http://sourceforge.net/projects/arma/files/' | \
$(SED) -n 's,.*/armadillo-\([0-9.]*\)[.]tar.*".*,\1,p' | \
head -1
endef