2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2013-09-02 04:03:28 +01:00
|
|
|
|
|
|
|
PKG := vo-aacenc
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := https://github.com/mstorsjo/vo-aacenc
|
|
|
|
$(PKG)_DESCR := VO-AACENC
|
2013-09-02 04:03:28 +01:00
|
|
|
$(PKG)_IGNORE :=
|
|
|
|
$(PKG)_VERSION := 0.1.3
|
2015-09-23 09:32:58 +01:00
|
|
|
$(PKG)_CHECKSUM := e51a7477a359f18df7c4f82d195dab4e14e7414cbd48cf79cc195fc446850f36
|
2013-09-02 04:03:28 +01:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_URL := https://$(SOURCEFORGE_MIRROR)/project/opencore-amr/$(PKG)/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc
|
2013-09-02 04:03:28 +01:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2017-03-04 10:33:47 +00:00
|
|
|
$(WGET) -q -O- 'https://sourceforge.net/projects/opencore-amr/files/vo-aacenc/' | \
|
2013-10-20 03:19:57 +01:00
|
|
|
$(SED) -n 's,.*aacenc-\([0-9.]*\)\.tar.*,\1,p' | \
|
|
|
|
$(SORT) -V | \
|
|
|
|
tail -1
|
2013-09-02 04:03:28 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
2014-02-10 05:33:26 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS)
|
2013-09-02 04:03:28 +01:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(1)' -j 1 install
|
|
|
|
endef
|