improved version recognition of packages: boost gmp plotutils vmime

This commit is contained in:
Volker Grabsch 2010-10-27 15:19:28 +02:00
parent 61101715ce
commit a0b971abe8
4 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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