1
0
flewkey-overlay/dev-embedded/cc65/cc65-9999.ebuild
Ryan Fox 72a9ef6bcb
dev-embedded/cc65: New package
For compiling x16-rom

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2020-12-25 23:40:35 +00:00

26 lines
525 B
Bash

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/cc65/cc65/archive/V${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/cc65/cc65.git"
fi
DESCRIPTION="A C compiler for 6502-based systems"
HOMEPAGE="https://cc65.github.io/"
LICENSE="ZLIB"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
}