summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2010-10-02 14:03:57 (GMT)
committerTony Theodore <tonyt@logyst.com>2010-10-02 14:03:57 (GMT)
commitb57f2518d3baa5c05429e009fd2cbb988b1b05b7 (patch)
tree352e322543c15ebfccb9d83d987164a9eeaf68d3
parent018af8901fff3a5f0ca3f145dd6cb78231bb82ac (diff)
downloadmxe-b57f2518d3baa5c05429e009fd2cbb988b1b05b7.zip
mxe-b57f2518d3baa5c05429e009fd2cbb988b1b05b7.tar.gz
mxe-b57f2518d3baa5c05429e009fd2cbb988b1b05b7.tar.bz2
fix update macros for plotmm and sdl_sound
-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