mirror of https://git.wownero.com/dsc/mxe.git
package armadillo: fix update macro
This commit is contained in:
parent
bf668ad08e
commit
a0b90c6bc2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue