2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-10-23 22:46:49 +00:00
|
|
|
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
|
2022-12-19 22:14:32 +00:00
|
|
|
|
2022-08-31 01:27:44 +00:00
|
|
|
PKG_NAME="sleep"
|
2023-05-01 21:16:24 +00:00
|
|
|
PKG_VERSION=""
|
2022-08-31 01:27:44 +00:00
|
|
|
PKG_ARCH="any"
|
|
|
|
PKG_LICENSE="OSS"
|
|
|
|
PKG_DEPENDS_TARGET="systemd"
|
|
|
|
PKG_SITE=""
|
|
|
|
PKG_URL=""
|
|
|
|
PKG_LONGDESC="Sleep configuration"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2022-12-19 22:14:32 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/config/sleep.conf.d
|
|
|
|
cp sleep.conf ${INSTALL}/usr/config/sleep.conf.d/sleep.conf
|
|
|
|
cp modules.bad ${INSTALL}/usr/config
|
2022-08-31 01:27:44 +00:00
|
|
|
|
2022-12-19 22:14:32 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/lib/systemd/system-sleep/
|
|
|
|
cp sleep.sh ${INSTALL}/usr/lib/systemd/system-sleep/sleep
|
|
|
|
chmod +x ${INSTALL}/usr/lib/systemd/system-sleep/sleep
|
2022-08-31 01:27:44 +00:00
|
|
|
}
|