Mercurial > mxe-octave
comparison src/faad2.mk @ 1466:2726fbef533c
improved update script of all remaining SourceForge packages
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 02 Dec 2010 20:31:45 +0100 |
parents | 050f5ff03b26 |
children | f653602a0500 |
comparison
equal
deleted
inserted
replaced
1465:b680227d8892 | 1466:2726fbef533c |
---|---|
11 $(PKG)_WEBSITE := http://www.audiocoding.com/ | 11 $(PKG)_WEBSITE := http://www.audiocoding.com/ |
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/faac/$(PKG)-src/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) | 12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/faac/$(PKG)-src/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) |
13 $(PKG)_DEPS := gcc | 13 $(PKG)_DEPS := gcc |
14 | 14 |
15 define $(PKG)_UPDATE | 15 define $(PKG)_UPDATE |
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/faac/files/faac/) | \ | 16 wget -q -O- 'http://sourceforge.net/projects/faac/files/faad2-src/' | \ |
17 $(SED) -n 's,.*faad2-\([0-9][^>]*\)\.tar.*,\1,p' | \ | 17 $(SED) -n 's,.*faad2-\([0-9][^"]*\)/".*,\1,p' | \ |
18 tail -1 | 18 head -1 |
19 endef | 19 endef |
20 | 20 |
21 define $(PKG)_BUILD | 21 define $(PKG)_BUILD |
22 cd '$(1)' && ./configure \ | 22 cd '$(1)' && ./configure \ |
23 --host='$(TARGET)' \ | 23 --host='$(TARGET)' \ |