20 lines
595 B
Bash
20 lines
595 B
Bash
# Template file for 'xa'
|
|
pkgname=xa
|
|
version=2.3.9
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_check_target="test"
|
|
checkdepends="perl"
|
|
short_desc="6502 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=8d3097d3b75adf4305d7d5c8e8f2568a7176cb348bcc50006cfc58378540c555
|
|
|
|
post_extract() {
|
|
sed -i 's/${LD}/${CC}/' src/Makefile
|
|
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
|
|
sed -i 's/\($(DESTDIR)\)/\1$(PREFIX)/g' Makefile
|
|
}
|