1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 03:26:19 +00:00
Lakka-LibreELEC/packages/sysutils/entropy/package.mk
Ian Leonard b31ce30170 sysutils: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:16 +00:00

25 lines
600 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="entropy"
PKG_VERSION="0"
PKG_LICENSE="GPL"
PKG_SITE=""
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A simple way to add entropy at boot"
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/entropy
cp add-entropy ${INSTALL}/usr/lib/entropy
cp add-random-at-shutdown ${INSTALL}/usr/lib/entropy
chmod +x ${INSTALL}/usr/lib/entropy/*
}
post_install() {
enable_service add-entropy.service
enable_service add-random-at-shutdown.service
}