From 6ab12cdf1ac67ab8d75f97294c57600720a06b8c Mon Sep 17 00:00:00 2001 From: Nathaniel Barragan Date: Sat, 7 Dec 2019 04:19:27 -0800 Subject: [PATCH] New package: cc65-2.18 --- srcpkgs/cc65/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/cc65/template diff --git a/srcpkgs/cc65/template b/srcpkgs/cc65/template new file mode 100644 index 00000000000..46c1f85f5b4 --- /dev/null +++ b/srcpkgs/cc65/template @@ -0,0 +1,21 @@ +# 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 " +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 +}