mirror of https://git.wownero.com/dsc/mxe.git
Add a52dec package
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
f1ab63bcf7
commit
efeaa61796
|
@ -1090,6 +1090,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
|
|||
See something missing? Feel free to <a href="#creating-packages">create a new package</a>.
|
||||
</p>
|
||||
<table id="package-list">
|
||||
<tr>
|
||||
<td class="package">a52dec</td>
|
||||
<td class="website"><a href="http://liba52.sourceforge.net/">a52dec (aka. liba52)</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">agg</td>
|
||||
<td class="website"><a href="http://www.antigrain.com/">Anti-Grain Geometry</a></td>
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := a52dec
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 0.7.4
|
||||
$(PKG)_CHECKSUM := 79b33bd8d89dad7436f85b9154ad35667aa37321
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := http://liba52.sourceforge.net/files/$(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://liba52.sourceforge.net/downloads.html' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/"\.tar.*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && autoreconf -fi # The autotools files came with a52dec is _ancient_
|
||||
cd '$(1)' && ./configure \
|
||||
--host='$(TARGET)' \
|
||||
--disable-shared \
|
||||
--prefix='$(PREFIX)/$(TARGET)'
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||
endef
|
Loading…
Reference in New Issue