diff options
author | Mark Brand <mabrand@mabrand.nl> | 2012-01-27 13:40:07 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2012-01-27 13:40:07 (GMT) |
commit | e8544e53e955b7a8a54b6d8c7f52e93c6fbc60ee (patch) | |
tree | ed855790a28c1cdb81740cc56d7a0783fa9cd461 | |
parent | a8045af86899d1599b0a1fffc16d3d948e065a1c (diff) | |
download | mxe-e8544e53e955b7a8a54b6d8c7f52e93c6fbc60ee.zip mxe-e8544e53e955b7a8a54b6d8c7f52e93c6fbc60ee.tar.gz mxe-e8544e53e955b7a8a54b6d8c7f52e93c6fbc60ee.tar.bz2 |
packages sdl sdl_image sdl_mixer: fixed update macros (thanks Laura)
-rw-r--r-- | src/sdl.mk | 5 | ||||
-rw-r--r-- | src/sdl_image.mk | 5 | ||||
-rw-r--r-- | src/sdl_mixer.mk | 5 |
3 files changed, 6 insertions, 9 deletions
@@ -13,9 +13,8 @@ $(PKG)_URL := http://www.libsdl.org/release/$($(PKG)_FILE) $(PKG)_DEPS := gcc libiconv define $(PKG)_UPDATE - wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL/?sortby=date' | \ - grep '<a name="' | \ - $(SED) -n 's,.*<a name="release-\([0-9][^"]*\)".*,\1,p' | \ + wget -q -O- 'http://hg.libsdl.org/SDL/tags' | \ + $(SED) -n 's,.*release-\([0-9][^<]*\).*,\1,p' | \ head -1 endef diff --git a/src/sdl_image.mk b/src/sdl_image.mk index bea94e3..422e7eb 100644 --- a/src/sdl_image.mk +++ b/src/sdl_image.mk @@ -13,9 +13,8 @@ $(PKG)_URL := http://www.libsdl.org/projects/SDL_image/release/$($(PKG)_FIL $(PKG)_DEPS := gcc sdl jpeg libpng tiff define $(PKG)_UPDATE - wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_image/?sortby=date' | \ - grep '<a name="' | \ - $(SED) -n 's,.*<a name="release-\([0-9][^"]*\)".*,\1,p' | \ + wget -q -O- 'http://hg.libsdl.org/SDL_image/tags' | \ + $(SED) -n 's,.*release-\([0-9][^<]*\).*,\1,p' | \ head -1 endef diff --git a/src/sdl_mixer.mk b/src/sdl_mixer.mk index a3ca524..095fa7b 100644 --- a/src/sdl_mixer.mk +++ b/src/sdl_mixer.mk @@ -13,9 +13,8 @@ $(PKG)_URL := http://www.libsdl.org/projects/SDL_mixer/release/$($(PKG)_FIL $(PKG)_DEPS := gcc sdl libmikmod ogg vorbis smpeg define $(PKG)_UPDATE - wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_mixer/?sortby=date' | \ - grep '<a name="' | \ - $(SED) -n 's,.*<a name="release-\([0-9][^"]*\)".*,\1,p' | \ + wget -q -O- 'http://hg.libsdl.org/SDL_mixer/tags' | \ + $(SED) -n 's,.*release-\([0-9][^<]*\).*,\1,p' | \ head -1 endef |