summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2022-12-20 22:00:10 +0100
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2022-12-20 22:00:10 +0100
commit422e1a67a17e03b88253bd973cbabd68ecb4c429 (patch)
tree2218186bf8fec0cecfade90515024c63b4edbdfc /dev-libs/bcm2835
parentsys-libs/libapparmor: Stabilize 3.0.4 arm64, #887543 (diff)
downloadgentoo-422e1a67a17e03b88253bd973cbabd68ecb4c429.tar.gz
gentoo-422e1a67a17e03b88253bd973cbabd68ecb4c429.tar.bz2
gentoo-422e1a67a17e03b88253bd973cbabd68ecb4c429.zip
dev-libs/bcm2835: add 1.71
Signed-off-by: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Diffstat (limited to 'dev-libs/bcm2835')
-rw-r--r--dev-libs/bcm2835/Manifest1
-rw-r--r--dev-libs/bcm2835/bcm2835-1.71.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/bcm2835/Manifest b/dev-libs/bcm2835/Manifest
index 9aafea24af9f..b5d08dbc6268 100644
--- a/dev-libs/bcm2835/Manifest
+++ b/dev-libs/bcm2835/Manifest
@@ -1 +1,2 @@
DIST bcm2835-1.68.tar.gz 272796 BLAKE2B d848e901b1b3a51712009e3fbf00c43f870fd6c28812be710276620f80c4173e92529891e53ec02e2076069a5da8ba7190f8dcc620ce4a843773cb85622dd830 SHA512 bdc91af8f28755899611d41cf954c9b2ca107befe984b79ee6fe23b66bbb7f50e746e084c3e431b1b0cdf1b0735cec8a54018ebf12b713380e5db97e3564f477
+DIST bcm2835-1.71.tar.gz 276152 BLAKE2B e363e805d0ef4872baeb5eeffe143177a3983ee82d69c7077f64cc2373cf42524722fda03197de0ff0b6ef186fd017b61822b1192a108e1354d6eb4a76aa3535 SHA512 020d2918da1c23c3ff98513a123b7f96125f7e66cdbc5863ab00bcea93cdb68bb3507f2e29c31cd1fe5c26dd633df112e10122bde72cab9ecf67f0edcdf55aa6
diff --git a/dev-libs/bcm2835/bcm2835-1.71.ebuild b/dev-libs/bcm2835/bcm2835-1.71.ebuild
new file mode 100644
index 000000000000..6974a3fc9586
--- /dev/null
+++ b/dev-libs/bcm2835/bcm2835-1.71.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Provides access to GPIO and other IO functions on the Broadcom BCM2835"
+HOMEPAGE="https://www.airspayce.com/mikem/bcm2835/"
+SRC_URI="https://www.airspayce.com/mikem/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm"
+IUSE="doc examples"
+
+BDEPEND="doc? ( app-doc/doxygen )"
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ use doc && HTML_DOCS=( doc/html/. )
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ default
+}