summaryrefslogtreecommitdiff
path: root/package/bcm2835/Makefile
diff options
context:
space:
mode:
authordir <dir@ableton.com>2017-07-11 14:44:26 +0200
committerdir <dir@ableton.com>2018-08-13 17:54:03 +0200
commit81073bfe34049f0a9c2592bb71afd222cde3773a (patch)
treeb5bcb390235d20d806597e67cb9b91cc13e5587c /package/bcm2835/Makefile
parent4d7db460edabbcf82cb5a6d2c5183e0cd0664e9f (diff)
Add libbcm2835
Diffstat (limited to 'package/bcm2835/Makefile')
-rw-r--r--package/bcm2835/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/bcm2835/Makefile b/package/bcm2835/Makefile
new file mode 100644
index 000000000..49d9ada74
--- /dev/null
+++ b/package/bcm2835/Makefile
@@ -0,0 +1,27 @@
+# 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:= bcm2835
+PKG_VERSION:= 1.52
+PKG_RELEASE:= 1
+PKG_HASH:= b9fd10f7a80aadaed28a77168709b7c519568a63b6e98d0a50e9c5fe31bea6bb
+PKG_DESCR:= the BCM2835 direct hardware access library
+PKG_SECTION:= libs/misc
+PKG_URL:= http://www.airspayce.com/mikem/bcm2835/
+PKG_SITES:= http://www.airspayce.com/mikem/bcm2835/
+
+PKG_SYSTEM_DEPENDS:= raspberry-pi raspberry-pi2 raspberry-pi3
+
+DISTFILES:= bcm2835-${PKG_VERSION}.tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBBCM2835,libbcm2835,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+bcm2835-install:
+ $(INSTALL_DIR) $(IDIR_LIBBCM2835)/usr/lib
+ $(INSTALL_DIR) $(IDIR_LIBBCM2835)/usr/include
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk