diff options
author | Timothy Gu <timothygu99@gmail.com> | 2013-09-02 03:03:28 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2013-09-02 03:05:55 (GMT) |
commit | f5626edd3546c50b08b94803103aca76c4f550ba (patch) | |
tree | f0b1f625aa29f214faf689e5d710eaadbafdfdb6 /src/vo-aacenc.mk | |
parent | e906f2f21db23ee85967550760ee08e722db05ef (diff) | |
download | mxe-f5626edd3546c50b08b94803103aca76c4f550ba.zip mxe-f5626edd3546c50b08b94803103aca76c4f550ba.tar.gz mxe-f5626edd3546c50b08b94803103aca76c4f550ba.tar.bz2 |
Add vo-aacenc package and use it for ffmpeg
Diffstat (limited to 'src/vo-aacenc.mk')
-rw-r--r-- | src/vo-aacenc.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/vo-aacenc.mk b/src/vo-aacenc.mk new file mode 100644 index 0000000..49ecb80 --- /dev/null +++ b/src/vo-aacenc.mk @@ -0,0 +1,26 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := vo-aacenc +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.1.3 +$(PKG)_CHECKSUM := 6f8eea8e13f369e3568d9cb33d78e0ac28b7eaee +$(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/$(PKG)/' | \ + $(SED) -n 's,.*vo-aacenc-\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef |