mirror of https://git.wownero.com/dsc/mxe.git
improved version recognition of packages: boost gmp plotutils vmime
This commit is contained in:
parent
61101715ce
commit
a0b971abe8
|
@ -14,6 +14,7 @@ $(PKG)_DEPS := gcc zlib bzip2 expat
|
|||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://sourceforge.net/projects/boost/files/?sort=date&sortdir=desc' | \
|
||||
grep boost | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
grep -v beta | \
|
||||
head -1
|
||||
|
|
|
@ -16,7 +16,7 @@ $(PKG)_DEPS := gcc
|
|||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://www.gmplib.org/' | \
|
||||
grep '<a href="' | \
|
||||
$(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar\.bz2.*,\1,p' | \
|
||||
$(SED) -n 's,.*gmp-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||
grep -v '^4\.' | \
|
||||
head -1
|
||||
endef
|
||||
|
|
|
@ -16,7 +16,7 @@ $(PKG)_DEPS := gcc libpng pthreads
|
|||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://ftp.gnu.org/gnu/plotutils/?C=M;O=D' | \
|
||||
grep '<a href="plotutils-' | \
|
||||
$(SED) -n 's,.*plotutils-\([0-9][^<]*\)\.tar\.gz.*,\1,p' | \
|
||||
$(SED) -n 's,.*plotutils-\([0-9][^<]*\)\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ $(PKG)_DEPS := gcc libiconv gnutls libgsasl pthreads zlib
|
|||
|
||||
define $(PKG)_UPDATE
|
||||
$(call SOURCEFORGE_FILES,http://sourceforge.net/projects/vmime/files/) | \
|
||||
$(SED) -n 's,.*vmime-\([0-9][^>]*\)\.tar\.bz2.*,\1,p' | \
|
||||
$(SED) -n 's,.*vmime-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue