summaryrefslogtreecommitdiffstats
path: root/src/faac.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/faac.mk')
-rw-r--r--src/faac.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/faac.mk b/src/faac.mk
new file mode 100644
index 0000000..28548a8
--- /dev/null
+++ b/src/faac.mk
@@ -0,0 +1,29 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# faac
+PKG := faac
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 1.28
+$(PKG)_CHECKSUM := d00b023a3642f81bb1fb13d962a65079121396ee
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://www.audiocoding.com/
+$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)-src/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc faad2
+
+define $(PKG)_UPDATE
+ $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/faac/files/faac/) | \
+ $(SED) -n 's,.*faac-\([0-9][^>]*\)\.tar.*,\1,p' | \
+ tail -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --disable-shared \
+ --without-mp4v2
+ $(MAKE) -C '$(1)' -j '$(JOBS)'
+ $(MAKE) -C '$(1)' -j 1 install
+endef