blob: 249ca562b26542f8f04370be6b6759b4d5bc617a (
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=6
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
}
|