distribution/packages/sysutils/sleep/package.mk
fewtarius af60426e81
* Add support for AYANEO Air Plus (6800u)
* Update emulators and cores.
* Update Linux kernel to 6.1.27.
2023-05-01 21:16:24 +00:00

22 lines
597 B
Makefile

# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2020-present Fewtarius
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
}