linamh/dev-embedded/64tass/64tass-1.59.3120.ebuild

33 lines
948 B
Bash
Raw Normal View History

2023-04-06 11:47:15 +02:00
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
2023-07-20 20:28:34 +02:00
EAPI=8
2023-04-06 11:47:15 +02:00
2024-03-12 20:41:02 +01:00
inherit toolchain-funcs
2023-04-06 11:47:15 +02:00
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/tass64/files/source/${PN}-${PV}-src.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
2024-03-12 20:41:02 +01:00
BDEPEND="app-arch/unzip"
DEPEND="virtual/libc"
RDEPEND=${DEPEND}
2023-04-06 11:47:15 +02:00
S="${WORKDIR}"/${PN}-${PV}-src
src_compile() {
2024-03-12 20:41:02 +01:00
emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix="${EPREFIX}"/usr \
docdir="${EPREFIX}"/usr/share/doc/${PF} || die "src build fail"
2023-04-06 11:47:15 +02:00
}
src_install() {
2024-03-12 20:41:02 +01:00
emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix="${EPREFIX}"/usr \
docdir="${EPREFIX}"/usr/share/doc/${PF} install DESTDIR="${D}" || die "src install failed"
2023-04-06 11:47:15 +02:00
}