summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-03-25 03:24:53 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-03-25 03:24:53 (GMT)
commitb0f61e875fb50c663cc4741dec17b260b7660eff (patch)
treea63769f3c80dce65163aa7366f8d0b2d009cd660 /src
parent3296c42a0972ce3ee5c309415a3d204a265307c7 (diff)
downloadmxe-b0f61e875fb50c663cc4741dec17b260b7660eff.zip
mxe-b0f61e875fb50c663cc4741dec17b260b7660eff.tar.gz
mxe-b0f61e875fb50c663cc4741dec17b260b7660eff.tar.bz2
package sdl_gfx: fix update macro
Diffstat (limited to 'src')
-rw-r--r--src/sdl_gfx.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl_gfx.mk b/src/sdl_gfx.mk
index 95da895..b024f85 100644
--- a/src/sdl_gfx.mk
+++ b/src/sdl_gfx.mk
@@ -10,9 +10,9 @@ $(PKG)_URL := http://www.ferzkopp.net/Software/SDL_gfx-2.0/$($(PKG)_FILE)
$(PKG)_DEPS := gcc sdl
define $(PKG)_UPDATE
-# thanks debian/watch for the inspiration!
$(WGET) -q -O- 'http://www.ferzkopp.net/joomla/content/view/19/14/' | \
- $(SED) -n 's,.*/joomla/\.\./Software/SDL_gfx\-2\.0/SDL_gfx-\([0-9][^"]*\)\.tar.*,\1,p'
+ grep 'href.*tar\.' | \
+ $(SED) -n 's,.*SDL_gfx-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef