diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-06-04 10:06:43 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-06-04 10:06:43 (GMT) |
commit | dd4e98035e35ed89dd59fb8138b5f2a18eba5bc2 (patch) | |
tree | 65a092c178c8370e0577ccfee634546eb0ccde52 /src/xine-lib.mk | |
parent | ae176dbd7a938ad449ce47a38745a4dbaf035320 (diff) | |
download | mxe-dd4e98035e35ed89dd59fb8138b5f2a18eba5bc2.zip mxe-dd4e98035e35ed89dd59fb8138b5f2a18eba5bc2.tar.gz mxe-dd4e98035e35ed89dd59fb8138b5f2a18eba5bc2.tar.bz2 |
package xine-lib: fix update macro
Diffstat (limited to 'src/xine-lib.mk')
-rw-r--r-- | src/xine-lib.mk | 9 |
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 |