From 80c84294218cc2fdb9d56127639ab36713dce9a9 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Fri, 25 Nov 2022 20:42:45 +0100 Subject: [PATCH] Add 64tass --- dev-embedded/64tass/64tass-1.57.2900.ebuild | 29 +++++++++++++++++++++ dev-embedded/64tass/Manifest | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 dev-embedded/64tass/64tass-1.57.2900.ebuild create mode 100644 dev-embedded/64tass/Manifest diff --git a/dev-embedded/64tass/64tass-1.57.2900.ebuild b/dev-embedded/64tass/64tass-1.57.2900.ebuild new file mode 100644 index 00000000..0bb5231b --- /dev/null +++ b/dev-embedded/64tass/64tass-1.57.2900.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="7" + +inherit eutils toolchain-funcs multilib + +DESCRIPTION="64tass is cross assembler targeting the 65xx series of micro processors. Supports 6502, 65C02, R65C02, W65C02, 65CE02, 65816, DTV, 65EL02, 4510" +HOMEPAGE="https://sourceforge.net/projects/tass64/" +SRC_URI="https://sourceforge.net/projects/${PN}/files/source/${PN}-${PV}-src.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}"/${PN}-${PV}-src + +src_compile() { + emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix=${EPREFIX}/usr docdir=${EPREFIX}/usr/share/doc/${PF} || die "src build fail" +} + +src_install() { + emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix=${EPREFIX}/usr docdir=${EPREFIX}/usr/share/doc/${PF} install DESTDIR=${D} || die "src install failed" +} diff --git a/dev-embedded/64tass/Manifest b/dev-embedded/64tass/Manifest new file mode 100644 index 00000000..30f4de3d --- /dev/null +++ b/dev-embedded/64tass/Manifest @@ -0,0 +1,2 @@ +DIST 64tass-1.57.2900-src.zip 744738 BLAKE2B d542ad3600ce198434c642d5837582732c6616bca566712b3dcd3f3f14e9673bf34cdfce0fd5dc7a2d6b95cf4f1c9d7c891225f678ff312fb7c7fc10169398f1 SHA512 5cfc6c075cf13df9c0c6974c92a96041fc16217f48c55a96b475ccc7fe1f65633ab6e9d6915b4a864b0b9d4bde8bc86d7473ea3cdbf3d1f9374fe6aa5e4d39d0 +EBUILD 64tass-1.57.2900.ebuild 903 BLAKE2B 0fab5dc5b4f15efa3174e520f19a767642a491fd289cdb77569c2b586869fb79b8242dc130c907a1e334e794817721c040fbf8219387d10adcfdd65db2af2818 SHA512 f1a6f7c07e44723e747a9244e2ed8c38cda23bdd42b793ad22ca3627714e8a970873798a4b5ccdc492b7660b830593c19fbb1ccf13ece69c07a610f606016292