21 lines
634 B
Bash
21 lines
634 B
Bash
# Template file for 'xa'
|
|
pkgname=xa
|
|
version=2.3.14
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_check_args="-j1"
|
|
make_check_target="test"
|
|
checkdepends="perl"
|
|
short_desc="6502/R65C02/65816 cross-assembler"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.floodgap.com/retrotech/xa/"
|
|
distfiles="https://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
|
|
checksum=1b9bbabddbd8d3b9410b852e50a128eea41e681339e6f76c3e8076fa5420f02e
|
|
|
|
post_extract() {
|
|
vsed -i 's/${LD}/${CC}/' src/Makefile
|
|
vsed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
|
|
vsed -i 's/\($(DESTDIR)\)/\1$(PREFIX)/g' Makefile
|
|
}
|