distribution/packages/emulators/tools/xa/package.mk
2023-10-23 22:53:27 +00:00

24 lines
735 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023-present - The JELOS Project (https://github.com/JustEnoughLinuxOS)
PKG_NAME="xa"
PKG_VERSION="2.3.14"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://www.floodgap.com/retrotech/xa/"
PKG_URL="${PKG_SITE}/dists/xa-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_HOST="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="tools"
PKG_SHORTDESC="xa is a high-speed, two-pass portable cross-assembler."
makeinstall_host() {
mkdir -p ${TOOLCHAIN}/bin
cp -f file65 ldo65 mkrom.sh printcbm reloc65 uncpk xa ${TOOLCHAIN}/bin
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp -f file65 ldo65 mkrom.sh printcbm reloc65 uncpk xa ${INSTALL}/usr/bin
}