summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2020-09-26 21:53:09 +0200
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2020-09-26 21:53:09 +0200
commit29bcf2cc9e550b5caddfa03ad4eebc3aaf280a00 (patch)
treef80e0cdfca916009b14ca6004360a2b4ec9be09e /dev-libs/bcm2835
parentdev-perl/File-Copy-Recursive: Keyword 0.450.0 alpha, #737594 (diff)
downloadgentoo-29bcf2cc9e550b5caddfa03ad4eebc3aaf280a00.tar.gz
gentoo-29bcf2cc9e550b5caddfa03ad4eebc3aaf280a00.tar.bz2
gentoo-29bcf2cc9e550b5caddfa03ad4eebc3aaf280a00.zip
dev-libs/bcm2835: bump to 1.68, respect user-specified AR
Closes: https://bugs.gentoo.org/show_bug.cgi?id=722956 Package-Manager: Portage-3.0.4, Repoman-3.0.1 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.68.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/bcm2835/Manifest b/dev-libs/bcm2835/Manifest
index ae4a32be92ea..b82046eefb13 100644
--- a/dev-libs/bcm2835/Manifest
+++ b/dev-libs/bcm2835/Manifest
@@ -1,2 +1,3 @@
DIST bcm2835-1.52.tar.gz 258007 BLAKE2B b681617352ee0239c9c4effb5a5e161b2c409514d08e0d60d35e9bb58126f2a00bb9ab1a7f767db4c68a28eab4432f1f8908d5a4372b5b1c05f6f979f27c036d SHA512 5a6c608ed10169b0bcf9dab91dc0193b9fd16814c5c6bb18ea242b36ac803e56c49147721ed48c83ff72892683be6032f2e85bcc76dae523e5d79a5ae52f5154
DIST bcm2835-1.57.tar.gz 262233 BLAKE2B 618a6089f773b874905ba8341eb42b6751355dc8607c51957b6020a0d484734ef5ea4e49a6086ba25cc820c57cb077f292654fdc4eeb1b293746f9cbb83ca462 SHA512 0af59c22869511465a9fdcc384d7456f04bec06a1480e0575b7756628f0ecc72648974a9ace7a46df257b0fd45a117c89c430c3e97d214081d038cbaef398821
+DIST bcm2835-1.68.tar.gz 272796 BLAKE2B d848e901b1b3a51712009e3fbf00c43f870fd6c28812be710276620f80c4173e92529891e53ec02e2076069a5da8ba7190f8dcc620ce4a843773cb85622dd830 SHA512 bdc91af8f28755899611d41cf954c9b2ca107befe984b79ee6fe23b66bbb7f50e746e084c3e431b1b0cdf1b0735cec8a54018ebf12b713380e5db97e3564f477
diff --git a/dev-libs/bcm2835/bcm2835-1.68.ebuild b/dev-libs/bcm2835/bcm2835-1.68.ebuild
new file mode 100644
index 000000000000..454774b9bb63
--- /dev/null
+++ b/dev-libs/bcm2835/bcm2835-1.68.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+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"
+
+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
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}