2019-12-07 12:19:27 +00:00
|
|
|
# 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"
|
|
|
|
|
2020-01-11 21:22:19 +00:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
ppc*) broken="../libwrk/apple2enh/dbg.s(675): Error: Newline in string constant";;
|
|
|
|
esac
|
|
|
|
|
2019-12-07 12:19:27 +00:00
|
|
|
pre_build() {
|
|
|
|
vsed -i src/Makefile -e 's/CC =/CC ?=/' -e 's/AR =/AR ?=/'
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|