summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xine-lib.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/xine-lib.mk b/src/xine-lib.mk
index c4e6563..2ebd9ca 100644
--- a/src/xine-lib.mk
+++ b/src/xine-lib.mk
@@ -10,10 +10,11 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xine/$(PKG)/$($(PKG)_VER
$(PKG)_DEPS := gcc faad2 ffmpeg flac fontconfig freetype graphicsmagick libiconv libmng pthreads sdl speex theora vorbis wavpack zlib
define $(PKG)_UPDATE
- $(WGET) -q -O- 'http://hg.debian.org/hg/xine-lib/xine-lib/tags' | \
- $(SED) -n 's,>,\n,gp' | \
- $(SED) -n 's,^\([0-9][^< ]*\)<.*,\1,p' | \
- head -1
+ $(WGET) -q -O- 'http://www.xine-project.org/releases' | \
+ $(SED) -e 's,<a,\n<a,g' | \
+ $(SED) -n 's,.*xine-lib-\([0-9][^"]*\)\.tar.*,\1,p' | \
+ $(SORT) -V | \
+ tail -1
endef
define $(PKG)_BUILD