summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-02-23 00:32:21 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-02-23 03:44:23 (GMT)
commit0d50c4f83aed745b9abf6b5c157ccfca765366f8 (patch)
tree11bed26bae2e911cb6ec3c4017794e875fbef930 /src
parent1ed3a0a6c21ba99e6e06a50c3c1c3e504c558670 (diff)
downloadmxe-0d50c4f83aed745b9abf6b5c157ccfca765366f8.zip
mxe-0d50c4f83aed745b9abf6b5c157ccfca765366f8.tar.gz
mxe-0d50c4f83aed745b9abf6b5c157ccfca765366f8.tar.bz2
Add fdk-aac package
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/fdk-aac.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/fdk-aac.mk b/src/fdk-aac.mk
new file mode 100644
index 0000000..ebbeaef
--- /dev/null
+++ b/src/fdk-aac.mk
@@ -0,0 +1,25 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := fdk-aac
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 0.1.3
+$(PKG)_CHECKSUM := fda64beee7f3b8e04ca209efcf9354cdae9afc33
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/opencore-amr/$(PKG)/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'http://sourceforge.net/projects/opencore-amr/files/fdk-aac/' | \
+ $(SED) -n 's,.*fdk-aac-\([0-9.]*\)\.tar.*,\1,p' | \
+ $(SORT) -V | \
+ tail -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ $(MXE_CONFIGURE_OPTS)
+ $(MAKE) -C '$(1)' -j '$(JOBS)'
+ $(MAKE) -C '$(1)' -j 1 install
+endef