2022-02-28 13:45:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
2022-03-05 18:16:09 +00:00
|
|
|
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
|
2022-02-28 13:45:34 +00:00
|
|
|
|
|
|
|
PKG_NAME="portmaster"
|
2022-03-14 14:11:16 +00:00
|
|
|
PKG_VERSION=""
|
2022-09-24 13:47:40 +00:00
|
|
|
PKG_ARCH="aarch64"
|
2022-02-28 13:45:34 +00:00
|
|
|
PKG_URL="https://github.com/christianhaitian/PortMaster/raw/main/PortMaster.zip"
|
|
|
|
PKG_PRIORITY="optional"
|
|
|
|
PKG_SECTION="tools"
|
|
|
|
PKG_SHORTDESC="A simple tool that allows you to download various game ports that are available for Jelos"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
2022-10-06 09:59:09 +00:00
|
|
|
case ${DEVICE} in
|
|
|
|
RG552|handheld)
|
|
|
|
PKG_DEPENDS_TARGET="glew"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2022-02-28 13:45:34 +00:00
|
|
|
pre_unpack() {
|
2022-10-29 11:57:20 +00:00
|
|
|
unzip ${SOURCES}/portmaster/portmaster-.zip -d ${PKG_BUILD}
|
2022-02-28 13:45:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2022-10-05 21:52:20 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/share/
|
2022-03-18 10:39:38 +00:00
|
|
|
cp -r ${PKG_BUILD}/PortMaster ${INSTALL}/usr/share/
|
2022-10-05 21:52:20 +00:00
|
|
|
chmod 0755 ${INSTALL}/usr/share/PortMaster
|
2022-03-06 02:04:10 +00:00
|
|
|
|
|
|
|
mkdir -p ${INSTALL}/usr/lib/autostart/common
|
|
|
|
cp ${PKG_DIR}/sources/autostart/common/* ${INSTALL}/usr/lib/autostart/common
|
2022-02-28 13:45:34 +00:00
|
|
|
}
|