fix update macros for plotmm and sdl_sound

This commit is contained in:
Tony Theodore 2010-10-03 00:03:57 +10:00
parent 018af8901f
commit b57f2518d3
2 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,7 @@ $(PKG)_DEPS := gcc gtkmm
define $(PKG)_UPDATE
$(call SOURCEFORGE_FILES,http://sourceforge.net/projects/plotmm/files/plotmm/) | \
$(SED) -n 's,.*plotmm-\([0-9][^>]*\)-\.tar.*,\1,p' | \
$(SED) -n 's,.*plotmm-\([0-9][^>]*\)\.tar.*,\1,p' | \
tail -1
endef

View File

@ -13,6 +13,10 @@ $(PKG)_URL := http://icculus.org/SDL_sound/downloads/$($(PKG)_FILE)
$(PKG)_DEPS := gcc sdl libmikmod ogg vorbis smpeg
define $(PKG)_UPDATE
wget -q -O- 'http://hg.icculus.org/icculus/SDL_sound/tags' | \
grep 'release-' | \
$(SED) -n 's,.*release-\([0-9.]*\)<.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD