distribution/projects/Rockchip/packages/sleep/package.mk
2022-02-05 09:23:32 -05:00

19 lines
478 B
Makefile

PKG_NAME="sleep"
PKG_VERSION=""
PKG_SHA256=""
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
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
}