22 lines
643 B
Makefile
22 lines
643 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
|
|
|
|
PKG_NAME="sleep"
|
|
PKG_VERSION=""
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="OSS"
|
|
PKG_DEPENDS_TARGET="systemd"
|
|
PKG_SITE=""
|
|
PKG_URL=""
|
|
PKG_LONGDESC="Sleep configuration"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
makeinstall_target() {
|
|
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
|
|
|
|
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
|
|
}
|