xa: update to 2.3.9.
This commit is contained in:
parent
aefb04db1c
commit
6ce18840b8
|
@ -1,20 +1,19 @@
|
||||||
# Template file for 'xa'
|
# Template file for 'xa'
|
||||||
pkgname=xa
|
pkgname=xa
|
||||||
version=2.3.8
|
version=2.3.9
|
||||||
revision=1
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_check_target="test"
|
||||||
|
checkdepends="perl"
|
||||||
short_desc="6502 cross assembler"
|
short_desc="6502 cross assembler"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.floodgap.com/retrotech/xa/"
|
homepage="https://www.floodgap.com/retrotech/xa/"
|
||||||
distfiles="http://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
|
distfiles="https://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
|
||||||
checksum=3b97d2fe8891336676ca28ff127b69e997f0b5accf2c7009b4517496929b462a
|
checksum=8d3097d3b75adf4305d7d5c8e8f2568a7176cb348bcc50006cfc58378540c555
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
sed -i 's/${LD}/${CC}/' src/Makefile
|
||||||
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
|
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
|
||||||
}
|
sed -i 's/\($(DESTDIR)\)/\1$(PREFIX)/g' Makefile
|
||||||
do_build() {
|
|
||||||
make CC=$CC LD=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
|
||||||
}
|
|
||||||
do_install() {
|
|
||||||
make DESTDIR="$DESTDIR/usr" install
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue