22 lines
579 B
Bash
22 lines
579 B
Bash
|
# Template file for 'cc65'
|
||
|
pkgname=cc65
|
||
|
version=2.18
|
||
|
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=d14a22fb87c7bcbecd8a83d5362d5d317b19c6ce2433421f2512f28293a6eaab
|
||
|
nocross="Build process runs the built binary"
|
||
|
|
||
|
pre_build() {
|
||
|
vsed -i src/Makefile -e 's/CC =/CC ?=/' -e 's/AR =/AR ?=/'
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE
|
||
|
}
|