mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
28 lines
547 B
Bash
28 lines
547 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=9
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Z80 macro cross-assembler"
|
|
HOMEPAGE="https://www.tim-mann.org/trs80resources.html"
|
|
SRC_URI="https://www.tim-mann.org/trs80/${PN}${PV//.}.zip"
|
|
S="${WORKDIR}"
|
|
|
|
LICENSE="public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
|
|
BDEPEND="app-arch/unzip"
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dobin zmac
|
|
doman zmac.1
|
|
dodoc ChangeLog MAXAM NEWS README
|
|
}
|