22 lines
606 B
Bash
22 lines
606 B
Bash
# Template file for 'cc65'
|
|
pkgname=cc65
|
|
version=2.19
|
|
revision=1
|
|
build_style="gnu-makefile"
|
|
make_use_env=yes
|
|
short_desc="Freeware C compiler for 6502 based systems"
|
|
maintainer="Nathaniel Barragan <nathanielbarragan@gmail.com>"
|
|
license="Zlib"
|
|
homepage="https://cc65.github.io/"
|
|
distfiles="https://github.com/cc65/cc65/archive/V${version}.tar.gz"
|
|
checksum=157b8051aed7f534e5093471e734e7a95e509c577324099c3c81324ed9d0de77
|
|
nocross="Build process runs the built binary"
|
|
disable_parallel_build=yes
|
|
|
|
pre_build() {
|
|
vsed -i src/Makefile -e 's/CC =/CC ?=/' -e 's/AR =/AR ?=/'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|