summaryrefslogtreecommitdiff
path: root/dev-embedded/cc65/cc65-9999.ebuild
blob: 7aaa8613b7612451d169fe46c356c3df470f64b7 (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
EAPI=7

inherit git-r3

DESCRIPTION="Aa freeware C compiler for 6502 based systems"
HOMEPAGE="https://cc65.github.io/cc65/"
EGIT_REPO_URI="https://github.com/cc65/cc65.git"

LICENSE="zlib"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

DEPEND="doc? ( app-text/linuxdoc-tools )"
RDEPEND=""

src_compile() {
    PREFIX=/usr emake
    use doc && emake -C doc 
}

src_install() {
    PREFIX=/usr DESTDIR=${D} emake install
}