summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-03-11 01:31:00 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-03-11 01:31:00 (GMT)
commit44995520f6255b1882d014881ee4d41819db4b84 (patch)
treecb029b60b7c4c4b8fe12879b1c985ff34d1f15a4 /src
parente84eadbb28abd75962628c6630831634c75fc660 (diff)
downloadmxe-44995520f6255b1882d014881ee4d41819db4b84.zip
mxe-44995520f6255b1882d014881ee4d41819db4b84.tar.gz
mxe-44995520f6255b1882d014881ee4d41819db4b84.tar.bz2
ffmpeg: rework update script
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/ffmpeg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk
index 7d8a5d4..ae3cea0 100644
--- a/src/ffmpeg.mk
+++ b/src/ffmpeg.mk
@@ -12,9 +12,9 @@ $(PKG)_URL_2 := http://launchpad.net/ffmpeg/main/$($(PKG)_VERSION)/+download/
$(PKG)_DEPS := gcc bzip2 gnutls lame libass libbluray libvpx opencore-amr opus sdl speex theora vo-aacenc vo-amrwbenc vorbis x264 xvidcore yasm zlib
define $(PKG)_UPDATE
- $(WGET) -q -O- 'http://www.ffmpeg.org/download.html' | \
+ $(WGET) -q -O- 'http://ffmpeg.org/releases/' | \
$(SED) -n 's,.*ffmpeg-\([0-9][^>]*\)\.tar.*,\1,p' | \
- grep 2.* | \
+ grep -v 'alpha\|beta\|rc\|git' | \
$(SORT) -Vr | \
head -1
endef