summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/bcm2835')
-rw-r--r--dev-libs/bcm2835/Manifest1
-rw-r--r--dev-libs/bcm2835/bcm2835-1.52.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/bcm2835/Manifest b/dev-libs/bcm2835/Manifest
index 75ce192ed6c6..4a83f4e493e7 100644
--- a/dev-libs/bcm2835/Manifest
+++ b/dev-libs/bcm2835/Manifest
@@ -1 +1,2 @@
DIST bcm2835-1.46.tar.gz 251302 SHA256 fc6b0412525e6b7e85aeffec67e2d01a99fb906346620041e6684d59ea5517a7 SHA512 32a6c7ee2a023a3d0bb0a6863b15d1e708414b10baae591bd98ce6e9a71e88e39b9c84bbb9a1017f4ed7e3f71879fe54d50d2099b444165997bf304345795b30 WHIRLPOOL 1cbb3f6ebe5abb3df9a8bd0f4120e43ee32248048737194a032a51c170a74079a1960a541c49552e51ed5326a3dbd7bb606e9d16831fd81e543079ae02a5a19e
+DIST bcm2835-1.52.tar.gz 258007 SHA256 b9fd10f7a80aadaed28a77168709b7c519568a63b6e98d0a50e9c5fe31bea6bb SHA512 5a6c608ed10169b0bcf9dab91dc0193b9fd16814c5c6bb18ea242b36ac803e56c49147721ed48c83ff72892683be6032f2e85bcc76dae523e5d79a5ae52f5154 WHIRLPOOL 186a3add0f9804a9040ec627c242d920db4f6b74800857b59da1f8ee240bbc694d4779ea2de0a5e8b5c5c0f7542cd29db97cde92dc2edce776f61d829ce4b08d
diff --git a/dev-libs/bcm2835/bcm2835-1.52.ebuild b/dev-libs/bcm2835/bcm2835-1.52.ebuild
new file mode 100644
index 000000000000..df21044d8808
--- /dev/null
+++ b/dev-libs/bcm2835/bcm2835-1.52.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Provides access to GPIO and other IO functions on the Broadcom BCM2835"
+HOMEPAGE="http://www.airspayce.com/mikem/bcm2835/"
+SRC_URI="http://www.airspayce.com/mikem/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm"
+IUSE="doc examples"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+src_install() {
+ use doc && HTML_DOCS=( doc/html/. )
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ default
+}