mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
Per advice on Gentoo bug linked below. Bug: https://bugs.gentoo.org/912925 Bug: https://github.com/cc65/cc65/issues/2543 Signed-off-by: Seth M. Price <sprice623@aol.com>
24 lines
560 B
Bash
24 lines
560 B
Bash
# Copyright 2022, 2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Cross-development package for 65(C)02 systems"
|
|
HOMEPAGE="https://cc65.github.io/"
|
|
SRC_URI="https://github.com/cc65/cc65/archive/refs/tags/V${PV}.tar.gz"
|
|
|
|
LICENSE="ZLIB"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
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
|
|
}
|