development/xa: Updated for version 2.3.11.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-10-24 14:26:42 -04:00 committed by Willy Sudiarto Raharjo
parent 5f1cd31303
commit 0fd2feb5a0
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 17 additions and 6 deletions

View file

@ -9,3 +9,7 @@ This build includes xa's companion piece, the disassembler dxa. dxa is
considered alpha-quality software, but is included because it's still
very useful. It produces output that can be reassembled with xa, but
doesn't support the 65816 CPU.
If you want to run the xa test suite as part of the build, export
MAKETEST=yes in the script's environment. The build will fail if any
of the tests fail.

View file

@ -6,6 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20201024 bkw:
# - update for xa-2.3.11 (dxa still the same)
# - add support for running the test suite
# - exclude windows (visual studio) stuff when extracting tarball
# 20191129 bkw:
# - update for xa-2.3.10 and dxa-0.1.4
# - remove the patches for dxa, 0.1.4 has all the fixes applied
@ -24,7 +29,7 @@
# they were included in the script tarball all along.
PRGNAM=xa
VERSION=${VERSION:-2.3.10}
VERSION=${VERSION:-2.3.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -64,17 +69,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --exclude="*/vstudio/*"
cd $PRGNAM-$VERSION
chown -R root:root .
# tarball permissions are worse than usual.
find . -type d -exec chmod 755 {} \; -o -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \+ -o -type f -exec chmod 644 {} \+
chmod 755 tests/harness tests/hextool
sed -i "s,-O2,$SLKCFLAGS," Makefile
# Note: non-standard use of DESTDIR
make DESTDIR=/usr
[ "${MAKETEST:-no}" = "yes" ] && make -j1 test
make install DESTDIR=$PKG/usr MANDIR=$PKG/usr/man/man1
strip $PKG/usr/bin/*

View file

@ -1,9 +1,9 @@
PRGNAM="xa"
VERSION="2.3.10"
VERSION="2.3.11"
HOMEPAGE="http://www.floodgap.com/retrotech/xa/"
DOWNLOAD="https://slackware.uk/~urchlay/src/xa-2.3.10.tar.gz \
DOWNLOAD="https://slackware.uk/~urchlay/src/xa-2.3.11.tar.gz \
https://slackware.uk/~urchlay/src/dxa-0.1.4.tar.gz"
MD5SUM="14265129071922dd964d89599775d13e \
MD5SUM="72cbd5619f75b0c9839b90c41d0f9ea6 \
3a7993751bcb94e5f9081cc2f27eee1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""