improved update script of package openal

This commit is contained in:
Volker Grabsch 2010-11-30 00:01:36 +01:00
parent 4725dc3cd4
commit e72156b1a7
1 changed files with 3 additions and 3 deletions

View File

@ -13,9 +13,9 @@ $(PKG)_URL := http://kcat.strangesoft.net/openal-releases/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
wget -q -O- 'http://kcat.strangesoft.net/openal-releases/' | \
$(SED) -n 's,.*openal-soft-\([0-9][^<]*\)\.tar.*,\1,p' | \
tail -1
wget -q -O- 'http://kcat.strangesoft.net/openal-releases/?C=M;O=D' | \
$(SED) -n 's,.*"openal-soft-\([0-9][^"]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD