Mercurial > mxe-octave
comparison src/opencore-amr.mk @ 4581:47d998c794e6
* src/opencore-amr.mk: update PKG_UPDATE rule
author | John D |
---|---|
date | Mon, 18 Dec 2017 09:37:03 -0500 |
parents | 26b0654d196f |
children | 3c7f0478477f |
comparison
equal
deleted
inserted
replaced
4580:5875a3c3404c | 4581:47d998c794e6 |
---|---|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_FILE) | 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_FILE) |
11 $(PKG)_DEPS := | 11 $(PKG)_DEPS := |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://sourceforge.net/projects/opencore-amr/files/opencore-amr/' | \ | 14 $(WGET) -q -O- 'http://sourceforge.net/projects/opencore-amr/files/opencore-amr/' | \ |
15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ | 15 $(SED) -n 's,.*<tr title="opencore-amr-\([0-9\.]*\)\.tar.gz".*,\1,p' | \ |
16 head -1 | 16 head -1 |
17 endef | 17 endef |
18 | 18 |
19 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
20 cd '$(1)' && ./configure \ | 20 cd '$(1)' && ./configure \ |