# HG changeset patch # User Tony Theodore # Date 1286028237 -36000 # Node ID e8ab66322da334d53497b722c86fc40fa5672307 # Parent de6579fc47b7e535555a5d51cf253fcb302f3189 fix update macros for plotmm and sdl_sound diff -r de6579fc47b7 -r e8ab66322da3 src/plotmm.mk --- a/src/plotmm.mk Sat Oct 02 23:25:29 2010 +1000 +++ b/src/plotmm.mk Sun Oct 03 00:03:57 2010 +1000 @@ -14,7 +14,7 @@ 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 -r de6579fc47b7 -r e8ab66322da3 src/sdl_sound.mk --- a/src/sdl_sound.mk Sat Oct 02 23:25:29 2010 +1000 +++ b/src/sdl_sound.mk Sun Oct 03 00:03:57 2010 +1000 @@ -13,6 +13,10 @@ $(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