diff options
-rw-r--r-- | development/xa/xa.SlackBuild | 11 | ||||
-rw-r--r-- | development/xa/xa.info | 6 |
2 files changed, 11 insertions, 6 deletions
diff --git a/development/xa/xa.SlackBuild b/development/xa/xa.SlackBuild index 74d43ba8eb..032b7ba742 100644 --- a/development/xa/xa.SlackBuild +++ b/development/xa/xa.SlackBuild @@ -6,7 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# 20230906 bkw: update for xz-2.3.14. +# 20240216 bkw: update for xz-2.4.0. +# 20230906 bkw: update for xa-2.3.14. # - add ChangeLog.dxa to doc dir. # - correctly apply SLKCFLAGS and -DLONG_OPTIONS to dxa. @@ -37,7 +38,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xa -VERSION=${VERSION:-2.3.14} +VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,6 +90,8 @@ chmod 755 tests/harness tests/hextool sed -i "s,-O2,$SLKCFLAGS," Makefile # Note: non-standard use of DESTDIR +# 20240216 bkw: 2.4.0's got some bad logic in its Makefile... +sed -i '/^all:/s,killxa ,,' Makefile make DESTDIR=/usr [ "${MAKETEST:-no}" = "yes" ] && make -j1 test make install DESTDIR=$PKG/usr MANDIR=$PKG/usr/man/man1 @@ -100,12 +103,14 @@ gzip -9 $PKG/usr/man/man?/*.? PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKGDOC -cp -a README* COPYING ChangeLog TODO doc/* examples tests mkrom.sh $PKGDOC +cp -a README* COPYING ChangeLog TODO attic/doc/* examples tests mkrom.sh $PKGDOC cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild # now build dxa tar xvf $CWD/dxa-$DXAVER.tar.gz cd dxa-$DXAVER +chown -R root:root . +find . -type d -exec chmod 755 {} \+ -o -type f -exec chmod 644 {} \+ # Can't see a disadvantage to enabling the --long-options sed -i "/^CFLAGS/s,-O2,$SLKCFLAGS -DLONG_OPTIONS," Makefile diff --git a/development/xa/xa.info b/development/xa/xa.info index 0a8ee8d347..44f84ba597 100644 --- a/development/xa/xa.info +++ b/development/xa/xa.info @@ -1,9 +1,9 @@ PRGNAM="xa" -VERSION="2.3.14" +VERSION="2.4.0" HOMEPAGE="https://www.floodgap.com/retrotech/xa/" -DOWNLOAD="https://slackware.uk/~urchlay/src/xa-2.3.14.tar.gz \ +DOWNLOAD="https://slackware.uk/~urchlay/src/xa-2.4.0.tar.gz \ https://slackware.uk/~urchlay/src/dxa-0.1.5.tar.gz" -MD5SUM="c708214bf5d79a6c9ac98424bf7840a5 \ +MD5SUM="f88c71dee7bfba5aa9877d7d6333b33e \ 6d69ae1772ed58de97b0180e480dfe0c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |