void-packages/srcpkgs/python3-RPi.GPIO/template
2021-10-09 08:01:32 -04:00

24 lines
718 B
Bash

# Template file for 'python3-RPi.GPIO'
pkgname=python3-RPi.GPIO
version=0.7.0
revision=2
archs="armv[67]l* aarch64*"
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
short_desc="Module to control Raspberry Pi GPIO channels"
maintainer="amak <amak.git@outlook.com>"
license="MIT"
homepage="https://sourceforge.net/projects/raspberry-gpio-python"
distfiles="${SOURCEFORGE_SITE}/project/raspberry-gpio-python/RPi.GPIO-${version}.tar.gz"
checksum=7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f
# needed for gcc 10
# fixed upstream in commit 8a0a65
CFLAGS="-fcommon"
post_install() {
vlicense LICENCE.txt
}