Merge pull request #273 from TimothyGu/dca

Add libdca
This commit is contained in:
Tony Theodore 2013-11-18 21:31:19 -08:00
commit c39467e94d
2 changed files with 30 additions and 0 deletions

View File

@ -1527,6 +1527,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">libcroco</td>
<td class="website"><a href="http://www.freespiders.org/projects/libcroco/">Libcroco</a></td>
</tr>
<tr>
<td class="package">libdca</td>
<td class="website"><a href="http://www.videolan.org/developers/libdca.html">libdca (formerly libdts)</a></td>
</tr>
<tr>
<td class="package">libdnet</td>
<td class="website"><a href="http://libdnet.sourceforge.net/">libdnet</a></td>

26
src/libdca.mk Normal file
View File

@ -0,0 +1,26 @@
# This file is part of MXE.
# See index.html for further information.
PKG := libdca
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.0.5
$(PKG)_CHECKSUM := 3fa5188eaaa2fc83fb9c4196f6695a23cb17f3bc
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2
$(PKG)_URL := http://download.videolan.org/pub/videolan/libdca/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
echo 'TODO: write update script for $(PKG).' >&2;
echo $($(PKG)_VERSION)
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--enable-static \
--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