# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) PKG_NAME="raspi-gpio" PKG_VERSION="94f77d5c3e7736723950e624d846222eb2f1a379" PKG_REV="100" PKG_ARCH="arm" PKG_LICENSE="The 3-Clause BSD" PKG_SITE="https://github.com/RPi-Distro/raspi-gpio" PKG_URL="https://github.com/RPi-Distro/raspi-gpio/archive/${PKG_VERSION}.zip" PKG_DEPENDS_TARGET="toolchain" PKG_SECTION="tools" PKG_SHORTDESC="Dump the state of the BCM270x GPIOs." PKG_LONGDESC="This bundle currently includes the raspi-gpio tool from the RPi-Distro." PKG_DISCAIMER="Raspberry Pi is a trademark of the Raspberry Pi Foundation http://www.raspberrypi.org" PKG_IS_ADDON="yes" PKG_ADDON_NAME="raspi-gpio" PKG_ADDON_TYPE="xbmc.python.module" PKG_TOOLCHAIN="configure" PKG_CONFIGURE_OPTS_TARGET="--enable-static" addon() { mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/bin cp ${PKG_INSTALL}/usr/bin/raspi-gpio ${ADDON_BUILD}/${PKG_ADDON_ID}/bin }