Mercurial > mxe-octave
comparison src/opencore-amr.mk @ 1257:afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
author | Di Appoggio <diappoggio@gmail.com> |
---|---|
date | Mon, 20 Sep 2010 22:04:43 +1000 |
parents | |
children | 050f5ff03b26 |
comparison
equal
deleted
inserted
replaced
1256:b6d98b5e72f6 | 1257:afabf3a51818 |
---|---|
1 # This file is part of mingw-cross-env. | |
2 # See doc/index.html for further information. | |
3 | |
4 # opencore-amr | |
5 PKG := opencore-amr | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 0.1.2 | |
8 $(PKG)_CHECKSUM := 289478d49701213255e9d63a93aae9ad472125cc | |
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://opencore-amr.sourceforge.net/ | |
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc | |
14 | |
15 define $(PKG)_UPDATE | |
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/opencore-amr/files/opencore-amr/) | \ | |
17 $(SED) -n 's,.*opencore-amr-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
18 tail -1 | |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && ./configure \ | |
23 --host='$(TARGET)' \ | |
24 --prefix='$(PREFIX)/$(TARGET)' \ | |
25 --disable-shared | |
26 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
27 $(MAKE) -C '$(1)' -j 1 install | |
28 endef |