distribution/packages/emulators/standalone/drastic-sa/package.mk

35 lines
950 B
Makefile
Raw Normal View History

2023-04-14 21:20:18 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="drastic-sa"
PKG_VERSION="1.0"
2023-04-15 13:27:19 +00:00
PKG_LICENSE="Proprietary:DRASTIC.pdf"
2023-04-14 21:20:18 +00:00
PKG_ARCH="aarch64"
PKG_URL="https://github.com/brooksytech/JelosAddOns/raw/main/drastic.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Install Drastic Launcher script, will dowload bin on first run"
PKG_TOOLCHAIN="make"
make_target() {
:
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
case ${DEVICE} in
2023-04-29 13:32:09 +00:00
S922X*)
2023-05-19 21:21:21 +00:00
cp -rf ${PKG_DIR}/scripts/S922X/start_drastic.sh ${INSTALL}/usr/bin
2023-04-14 21:20:18 +00:00
;;
*)
2023-05-19 21:21:21 +00:00
cp -rf ${PKG_DIR}/scripts/start_drastic.sh ${INSTALL}/usr/bin
2023-04-14 21:20:18 +00:00
;;
esac
chmod +x ${INSTALL}/usr/bin/start_drastic.sh
mkdir -p ${INSTALL}/usr/config/drastic/config
cp -rf ${PKG_BUILD}/drastic_aarch64/* ${INSTALL}/usr/config/drastic/
2023-05-14 06:39:10 +00:00
cp -rf ${PKG_DIR}/config/${DEVICE}/* ${INSTALL}/usr/config/drastic/config/
2023-04-14 21:20:18 +00:00
}