summaryrefslogtreecommitdiff
blob: e8a15ee067203590f0e963a0837310a43c3adb9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="DLX Simulator"
HOMEPAGE="https://www.davidviner.com/dlx"
SRC_URI="https://www.davidviner.com/zip/dlx/dlx.zip -> ${P}.zip"
S="${WORKDIR}"/dlx

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ppc x86"

BDEPEND="app-arch/unzip"

src_compile() {
	# CXX not used
	emake CC="$(tc-getCC)" LINK="$(tc-getCC)" \
		CFLAGS="${CFLAGS} ${CPPFLAGS}" \
		LFLAGS="${CFLAGS} ${LDFLAGS}"
}

src_install() {
	dobin masm mon dasm
	dodoc README.txt MANUAL.TXT
}