2022-08-03 15:55:30 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
|
|
|
|
|
|
|
|
PKG_NAME="drastic"
|
|
|
|
PKG_LICENSE="GPLv3"
|
2022-10-22 14:24:37 +00:00
|
|
|
PKG_ARCH="arm aarch64"
|
2022-08-03 15:55:30 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_TOOLCHAIN="make"
|
2022-10-21 19:51:23 +00:00
|
|
|
PKG_LONGDESC="Install Drastic Launcher script, will dowload bin on first run"
|
2022-08-03 15:55:30 +00:00
|
|
|
|
|
|
|
make_target() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
cp -rf ${PKG_DIR}/scripts/* ${INSTALL}/usr/bin
|
|
|
|
|
2022-10-21 19:51:23 +00:00
|
|
|
chmod +x ${INSTALL}/usr/bin/start_drastic.sh
|
|
|
|
mkdir -p ${INSTALL}/usr/config/drastic
|
|
|
|
cp -rf ${PKG_DIR}/config/${DEVICE}/drastic.cfg ${INSTALL}/usr/config/drastic/drastic.cfg
|
2022-08-03 15:55:30 +00:00
|
|
|
}
|