summaryrefslogtreecommitdiff
path: root/package/libdcadec/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-02-27 20:32:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-02-27 20:44:50 +0100
commit8235f794e74f3325317d2c362d53522cc3ba9390 (patch)
treee7e680afad72905161b60a430a19ed31c2945931 /package/libdcadec/Makefile
parent86486336e5012b7e632b58ad59bafb5211d91499 (diff)
kodi: update to Jarvis
Diffstat (limited to 'package/libdcadec/Makefile')
-rw-r--r--package/libdcadec/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/libdcadec/Makefile b/package/libdcadec/Makefile
new file mode 100644
index 000000000..2b63779d3
--- /dev/null
+++ b/package/libdcadec/Makefile
@@ -0,0 +1,31 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libdcadec
+PKG_VERSION:= 0.2.0
+PKG_RELEASE:= 1
+PKG_HASH:= ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44
+PKG_DESCR:= dts coherent acoustics decoder with support for hd extensions
+PKG_SECTION:= libs/audio
+PKG_URL:= https://github.com/foo86/dcadec
+PKG_SITES:= https://github.com/foo86/dcadec/archive/v0.2.0.tar.gz
+PKG_OPTS:= dev
+
+DISTFILES:= v$(PKG_VERSION).tar.gz
+WRKDIST= $(WRKDIR)/dcadec-$(PKG_VERSION)
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBDCADEC,libdcadec,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+XAKE_FLAGS+= PREFIX=/usr
+CONFIG_STYLE:= manual
+
+libdcadec-install:
+ $(INSTALL_DIR) $(IDIR_LIBDCADEC)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/liblibdcadec*.so* \
+ $(IDIR_LIBDCADEC)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk