mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
RPi.GPIO: drop package
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
2e51d09a38
commit
ab35590114
@ -1,24 +0,0 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
|
||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
||||||
|
|
||||||
PKG_NAME="RPi.GPIO"
|
|
||||||
PKG_VERSION="0.7.1"
|
|
||||||
PKG_SHA256="cd61c4b03c37b62bba4a5acfea9862749c33c618e0295e7e90aa4713fb373b70"
|
|
||||||
PKG_ARCH="arm"
|
|
||||||
PKG_LICENSE="MIT"
|
|
||||||
PKG_SITE="https://sourceforge.net/projects/raspberry-gpio-python/"
|
|
||||||
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
||||||
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host"
|
|
||||||
PKG_LONGDESC="A module to control Raspberry Pi GPIO channels."
|
|
||||||
PKG_TOOLCHAIN="manual"
|
|
||||||
|
|
||||||
pre_configure_target() {
|
|
||||||
export PYTHONXCPREFIX="${SYSROOT_PREFIX}/usr"
|
|
||||||
export LDSHARED="${CC} -shared"
|
|
||||||
export CFLAGS="${CFLAGS} -fcommon"
|
|
||||||
export CPPFLAGS="${TARGET_CPPFLAGS} -I${SYSROOT_PREFIX}/usr/include/${PKG_PYTHON_VERSION}"
|
|
||||||
}
|
|
||||||
|
|
||||||
make_target() {
|
|
||||||
python3 setup.py build
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user