void-packages/srcpkgs/xa/template

21 lines
548 B
Bash

# Template file for 'xa'
pkgname=xa
version=2.3.8
revision=1
short_desc="6502 cross assembler"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://www.floodgap.com/retrotech/xa/"
distfiles="http://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
checksum=3b97d2fe8891336676ca28ff127b69e997f0b5accf2c7009b4517496929b462a
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
}
do_build() {
make CC=$CC LD=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {
make DESTDIR="$DESTDIR/usr" install
}