package ffmpeg: use $(SORT) variable

This commit is contained in:
Tony Theodore 2013-12-04 13:16:09 +11:00
parent ad4f5ded1e
commit dad82d24be
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ $(PKG)_DEPS := gcc bzip2 lame libass libnut libvpx opencore-amr opus sdl spe
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.ffmpeg.org/download.html' | \
$(SED) -n 's,.*ffmpeg-\([0-9][^>]*\)\.tar.*,\1,p' | \
grep 1.2.* | sort -Vr | \
grep 1.2.* | \
$(SORT) -Vr | \
head -1
endef