mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-01 04:31:30 +00:00
* remove old packages (python_colorzero, python_gpiozero) * modify upstream packages colorzero, gpiozero (add make / makeinstall functions - only for Lakka) * modify upstream package RPi.GPIO (add makeinstall functions - only for Lakka) * fix dependencies in gpicase_safeshutdown package
17 lines
374 B
Makefile
17 lines
374 B
Makefile
PKG_NAME="gpicase_safeshutdown"
|
|
PKG_VERSION="1.0"
|
|
PKG_ARCH="arm"
|
|
PKG_DEPENDS_TARGET="Python3 gpiozero colorzero"
|
|
PKG_SECTION="system"
|
|
PKG_LONGDESC="GPICase safe shutdown script."
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
cp -v ${PKG_DIR}/scripts/* ${INSTALL}/usr/bin
|
|
}
|
|
|
|
post_install() {
|
|
enable_service gpicase-safeshutdown.service
|
|
}
|