diff options
author | Timothy Gu <timothygu99@gmail.com> | 2013-11-15 01:08:19 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2013-11-15 03:44:42 (GMT) |
commit | bcbbbc8074673eb7214fe566fdd42ef01a4484c8 (patch) | |
tree | b1818a79c3900ab31d8868a5a8f232b096de3de8 /src | |
parent | 19118b80e0976a3119082e9a8664c91faceaf0af (diff) | |
download | mxe-bcbbbc8074673eb7214fe566fdd42ef01a4484c8.zip mxe-bcbbbc8074673eb7214fe566fdd42ef01a4484c8.tar.gz mxe-bcbbbc8074673eb7214fe566fdd42ef01a4484c8.tar.bz2 |
Add libdca
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libdca.mk | 26 |
1 files changed, 26 insertions, 0 deletions
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 |