aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-12-30 15:29:10 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:40 +0700
commite6d2468f93ac116d34994fdf3c25c95225856a3c (patch)
tree5412c727b5b0040fdefd87ed7def289996b3781d /development
parent8afb0fcbeb1fab9887a50c96408521c353294be2 (diff)
development/atasm: Updated for version 1.09.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/atasm/atasm.SlackBuild19
-rw-r--r--development/atasm/atasm.info8
2 files changed, 18 insertions, 9 deletions
diff --git a/development/atasm/atasm.SlackBuild b/development/atasm/atasm.SlackBuild
index 9a2a339e0010..e12c697b5361 100644
--- a/development/atasm/atasm.SlackBuild
+++ b/development/atasm/atasm.SlackBuild
@@ -6,10 +6,16 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20221230 bkw:
+# - update for v1.09.
+# - install binary with standard permissions (0755).
+# - mention atari.txt in man page.
+# - run test suite (add "test" to make targets).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=atasm
-VERSION=${VERSION:-1.07d}
+VERSION=${VERSION:-1.09}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -65,18 +71,21 @@ DOCDIR=/usr/doc/$PRGNAM-$VERSION
# fix reference to full documentation.
sed -i \
- -e "s,$PRGNAM\.txt,$PRGNAM.pdf," \
+ -e "s,$PRGNAM\.txt,& (or $PRGNAM.pdf in the same directory)," \
-e "s,%%DOCDIR%%,$DOCDIR," \
src/$PRGNAM.1.in
-sed -i "s,-O3.*,$SLKCFLAGS," src/Makefile
+sed -i \
+ -e "s,-O3.*,$SLKCFLAGS," \
+ -e 's,\(chmod \)711,\1755,' \
+ src/Makefile
mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION
# 'make install' chokes because this file's missing:
touch $PRGNAM.txt
# N.B. nonstandard use of DESTDIR and MANDIR here.
-make -C src all install \
+make -C src all test install \
DESTDIR=$PKG/usr/bin \
MANDIR=$PKG/usr/man/man1 \
DOCDIR=$PKG/$DOCDIR
@@ -85,7 +94,7 @@ strip $PKG/usr/bin/$PRGNAM
gzip $PKG/usr/man/man1/$PRGNAM.1
rm -f $PKG/$DOCDIR/$PRGNAM.txt
-cp -a LICENSE *.TXT docs/* examples $PKG/$DOCDIR
+cp -a README* LICENSE* *.TXT docs/* examples $PKG/$DOCDIR
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/atasm/atasm.info b/development/atasm/atasm.info
index 0ee637c30723..b7a24e0ce9a7 100644
--- a/development/atasm/atasm.info
+++ b/development/atasm/atasm.info
@@ -1,8 +1,8 @@
PRGNAM="atasm"
-VERSION="1.07d"
-HOMEPAGE="http://atari.miribilist.com/atasm/"
-DOWNLOAD="http://atari.miribilist.com/atasm/atasm107d.zip"
-MD5SUM="02c2ad750cdff8b38038ca13894b1f3c"
+VERSION="1.09"
+HOMEPAGE="https://atari.miribilist.com/atasm/"
+DOWNLOAD="https://atari.miribilist.com/atasm/atasm109.zip"
+MD5SUM="dea186865a98023b43b51da74d3bd021"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""