mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/atasm: Updated for version 1.09.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8afb0fcbeb
commit
e6d2468f93
2 changed files with 18 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue