summaryrefslogtreecommitdiff
path: root/dev-lang/cc65/cc65-9999-r1.ebuild
blob: ba32ad27adf8466e0f4e32ea9b35b59c374b0016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2022, 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 toolchain-funcs

DESCRIPTION="Cross-development package for 65(C)02 systems"
HOMEPAGE="https://cc65.github.io/"
EGIT_REPO_URI="https://github.com/cc65/cc65.git"

LICENSE="ZLIB"
SLOT="0"

src_compile() {
	emake CC="$(tc-getCC)" AR="$(tc-getAR)" PREFIX="${EPREFIX}/usr" -j1
}

src_install() {
	emake CC="$(tc-getCC)" AR="$(tc-getAR)" DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
	dodoc README.md
}