From 0fd2feb5a0cf7e47dd02236f28ac214c6b1e12b3 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Sat, 24 Oct 2020 14:26:42 -0400 Subject: development/xa: Updated for version 2.3.11. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/xa/xa.SlackBuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'development/xa/xa.SlackBuild') diff --git a/development/xa/xa.SlackBuild b/development/xa/xa.SlackBuild index ffe7d9fba6..4a7069bc35 100644 --- a/development/xa/xa.SlackBuild +++ b/development/xa/xa.SlackBuild @@ -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/* -- cgit v1.2.3