diff options
Diffstat (limited to 'development/xa/xa.SlackBuild')
-rw-r--r-- | development/xa/xa.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
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/* |