summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plotmm.mk2
-rw-r--r--src/sdl_sound.mk4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/plotmm.mk b/src/plotmm.mk
index 9dbfba1..dadd1b8 100644
--- a/src/plotmm.mk
+++ b/src/plotmm.mk
@@ -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
diff --git a/src/sdl_sound.mk b/src/sdl_sound.mk
index 5e9f55a..1747458 100644
--- a/src/sdl_sound.mk
+++ b/src/sdl_sound.mk
@@ -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