From b57f2518d3baa5c05429e009fd2cbb988b1b05b7 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 3 Oct 2010 00:03:57 +1000 Subject: fix update macros for plotmm and sdl_sound --- src/plotmm.mk | 2 +- src/sdl_sound.mk | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v0.12