opencore-amr, vo-aacenc: Fix update macros

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
pull/515/merge
Timothy Gu 10 years ago
parent 1e4a1215c7
commit e41fa5a8dd

@ -12,7 +12,7 @@ $(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://sourceforge.net/projects/opencore-amr/files/opencore-amr/' | \
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
$(SED) -n 's,.*opencore-amr-\([0-9][^"]*\)\.tar.*,\1,p' | \
head -1
endef

@ -11,7 +11,7 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/opencore-amr/$(PKG)/$($(
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://sourceforge.net/projects/opencore-amr/files/$(PKG)/' | \
$(WGET) -q -O- 'http://sourceforge.net/projects/opencore-amr/files/vo-aacenc/' | \
$(SED) -n 's,.*aacenc-\([0-9.]*\)\.tar.*,\1,p' | \
$(SORT) -V | \
tail -1

Loading…
Cancel
Save