summaryrefslogtreecommitdiff
path: root/package/bcm2835-vc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-22 15:20:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-22 15:20:22 +0200
commitc9952d01d5058e26b4d913079cc55f60027e315c (patch)
tree22ab8b7c4d6157e04e469459ed44b44b05f2663c /package/bcm2835-vc/Makefile
parent802675c2e476a9c490baa9488dd1b49a17f32d23 (diff)
add omxplayer for raspberry pi
Diffstat (limited to 'package/bcm2835-vc/Makefile')
-rw-r--r--package/bcm2835-vc/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/package/bcm2835-vc/Makefile b/package/bcm2835-vc/Makefile
index 29a8f3c0f..aa462ce8a 100644
--- a/package/bcm2835-vc/Makefile
+++ b/package/bcm2835-vc/Makefile
@@ -4,22 +4,31 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= bcm2835-vc
-PKG_VERSION:= 0.1
+PKG_VERSION:= 0.2
PKG_RELEASE:= 1
-PKG_MD5SUM:= 1ec77ba4e75807f505604c42738a2bee
+PKG_MD5SUM:= d16840805c020af92cd2268a0291228b
PKG_DESCR:= vc tools for raspberry pi (bcm2835)
PKG_SECTION:= base
PKG_SITES:= http://openadk.org/distfiles/
+PKG_SYSTEM_DEPENDS:= raspberry-pi
+
+PKG_SUBPKGS:= BCM2835_VC BCM2835_VC_DEV
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BCM2835_VC,bcm2835-vc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,BCM2835_VC_DEV,bcm2835-vc-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-do-install:
+bcm2835-vc-install:
${CP} ${WRKBUILD}/* ${IDIR_BCM2835_VC}
+ -rm -rf ${IDIR_BCM2835_VC}/opt/vc/include
+ mkdir -p ${STAGING_DIR}/opt/vc
+ ${CP} ${WRKBUILD}/opt/vc/lib ${STAGING_DIR}/opt/vc
+ ${CP} ${WRKBUILD}/opt/vc/include ${STAGING_DIR}/opt/vc
include ${TOPDIR}/mk/pkg-bottom.mk