summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-11-19 05:31:19 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-11-19 05:31:19 (GMT)
commitc39467e94dd4bb9cbe5bd13c82a3455e9a5d9737 (patch)
treeeb5608b94b346fbe217fed7ce9e8b975f48777ad
parentea1cd8cf3f515f249db3b0392a9224bb9f7b970a (diff)
parentbcbbbc8074673eb7214fe566fdd42ef01a4484c8 (diff)
downloadmxe-c39467e94dd4bb9cbe5bd13c82a3455e9a5d9737.zip
mxe-c39467e94dd4bb9cbe5bd13c82a3455e9a5d9737.tar.gz
mxe-c39467e94dd4bb9cbe5bd13c82a3455e9a5d9737.tar.bz2
Merge pull request #273 from TimothyGu/dca
Add libdca
-rw-r--r--index.html4
-rw-r--r--src/libdca.mk26
2 files changed, 30 insertions, 0 deletions
diff --git a/index.html b/index.html
index f3fac22..28ffcf9 100644
--- a/index.html
+++ b/index.html
@@ -1528,6 +1528,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<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>
</tr>
diff --git a/src/libdca.mk b/src/libdca.mk
new file mode 100644
index 0000000..58decc4
--- /dev/null
+++ b/src/libdca.mk
@@ -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