mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-15 07:05:44 +00:00
- retroflag_picase_safeshutdown - remove copy service (is copied automatically) - enable the service - start the service only when specific files exists - RPi3/4/5: add RetroArch patch that adds menu item under Settings -> Services to enable/disable the service - retroarch: enable HAVE_RETROFLAG for RPi3/4/5
17 lines
440 B
Makefile
17 lines
440 B
Makefile
PKG_NAME="retroflag_picase_safeshutdown"
|
|
PKG_VERSION="1.0"
|
|
PKG_ARCH="aarch64"
|
|
PKG_DEPENDS_TARGET="Python3 lg-gpio"
|
|
PKG_SECTION="system"
|
|
PKG_LONGDESC="RETROFLAG Pi CASE series safe shutdown script."
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
makeinstall_target() {
|
|
mkdir -p "${INSTALL}/usr/bin"
|
|
cp -av "${PKG_DIR}/scripts/retroflag_picase_safeshutdown.py" "${INSTALL}/usr/bin"
|
|
}
|
|
|
|
post_install() {
|
|
enable_service retroflag_picase_safeshutdown.service
|
|
}
|