From e41fa5a8ddda9e903708058da837baa15921cbd7 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Tue, 7 Oct 2014 16:57:12 -0700 Subject: [PATCH] opencore-amr, vo-aacenc: Fix update macros Signed-off-by: Timothy Gu --- src/opencore-amr.mk | 2 +- src/vo-aacenc.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opencore-amr.mk b/src/opencore-amr.mk index 3bbe8d3d..a64c1a06 100644 --- a/src/opencore-amr.mk +++ b/src/opencore-amr.mk @@ -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 diff --git a/src/vo-aacenc.mk b/src/vo-aacenc.mk index 7eb1e90d..b8783262 100644 --- a/src/vo-aacenc.mk +++ b/src/vo-aacenc.mk @@ -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