provide a faster version recognition for package boost

This commit is contained in:
Volker Grabsch 2011-05-17 14:10:53 +02:00
parent 746f470015
commit 1f31555530
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/boost/boost/$($(PKG)_VER
$(PKG)_DEPS := gcc zlib bzip2 expat
define $(PKG)_UPDATE
wget -q -O- 'http://sourceforge.net/projects/boost/files/boost/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
wget -q -O- 'http://www.boost.org/users/download/' | \
$(SED) -n 's,.*/boost/\([0-9][^"/]*\)/".*,\1,p' | \
grep -v beta | \
head -1
endef