summaryrefslogtreecommitdiff
path: root/package/libcec
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-06 09:53:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-06 09:53:25 +0100
commit2288ec26df8e47d9b699e46eecd05eb3570f03a0 (patch)
tree1d204b70e027fd737f6aae1b7308ae959f5bd0b9 /package/libcec
parent45e7808c41c2e66266f738aa5eff70ce18cc04ac (diff)
parent667bc9e981847a1d117a2fc7110948075a268bdd (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libcec')
-rw-r--r--package/libcec/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/libcec/Makefile b/package/libcec/Makefile
new file mode 100644
index 000000000..e085df139
--- /dev/null
+++ b/package/libcec/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libcec
+PKG_VERSION:= 2.1.4
+PKG_RELEASE:= 1
+PKG_MD5SUM:= d65e52ab3295e9e4b73bf4580f3bd4f7
+PKG_DESCR:= control your device with your TV remote control
+PKG_SECTION:= libs
+PKG_BUILDDEP:= autotool
+PKG_URL:= http://libcec.pulse-eight.com/
+PKG_SITES:= http://www.openadk.org/distfiles
+PKG_OPTS:= dev
+
+PKG_SYSTEM_DEPENDS:= raspberry-pi
+PKG_LIBC_DEPENDS:= eglibc glibc musl
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBCEC,libcec,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+AUTOTOOL_STYLE:= autoreconf
+CONFIGURE_ARGS+= --enable-rpi \
+ --with-rpi-include-path=$(STAGING_TARGET_DIR)/opt/vc/include \
+ --with-rpi-lib-path=$(STAGING_TARGET_DIR)/opt/vc/lib
+
+libcec-install:
+ $(INSTALL_DIR) $(IDIR_LIBCEC)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libcec*.so* \
+ $(IDIR_LIBCEC)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk