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

30 lines
903 B
Bash
Raw Normal View History

2022-11-25 20:42:45 +01:00
# 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"
}