system/sdltrs: Miscellaneous cleanups

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Niels Horn 2010-07-11 02:21:24 -05:00 committed by Robby Workman
parent b3a02e793b
commit cd49f5b46f
4 changed files with 21 additions and 12 deletions

View File

@ -1,5 +1,3 @@
sdltrs: Radio Shack TRS-80 Model I/III/4/4P Emulator
sdltrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Macintosh OSX,
Windows and Linux. It has been ported from the excellent X Window Unix
emulator xtrs. Instead of using the X-Window system for graphics, it uses

View File

@ -4,14 +4,21 @@
# the Radio Shack TRS-80 Model I/III/4/4p emulator
# Written by Niels Horn - niels.horn@gmail.com
# revision date 2010/03/12
# revision date 2010/07/10
PRGNAM=sdltrs
VERSION=${VERSION:-1.1.0}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
SRCVERSION=$(echo $VERSION | tr . _)
CWD=$(pwd)
@ -35,6 +42,10 @@ elif [ "$ARCH" = "arm" ]; then
SLKCFLAGS="-O2 -march=armv4t"
LIBDIRSUFFIX=""
ARCHQUADLET="-gnueabi"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
ARCHQUADLET=""
fi
set -e
@ -64,7 +75,7 @@ cat $CWD/sdltrs.png > $PKG/usr/share/pixmaps/sdltrs.png
mkdir -p $PKG/usr/share/sdltrs
cp -a diskimages/* $PKG/usr/share/sdltrs
mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION/html
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
cp -a BUILDING README $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/html/
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;

View File

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com"
APPROVED="Erik Hanson"
APPROVED="rworkman"

View File

@ -6,11 +6,11 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
sdltrs: sdltrs: Radio Shack TRS-80 Model I/III/4/4P Emulator.
sdltrs:
sdltrs: sdltrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for
sdltrs: Macintosh OSX, Windows and Linux. It has been ported from the
sdltrs: excellent X-Windows Unix emulator xtrs. Instead of using the
sdltrs: sdltrs (Radio Shack TRS-80 Model I/III/4/4P Emulator)
sdltrs:
sdltrs: sdltrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for
sdltrs: Macintosh OSX, Windows and Linux. It has been ported from the
sdltrs: excellent X-Windows Unix emulator xtrs. Instead of using the
sdltrs: X-Window system for graphics, it uses the portable SDL library.
sdltrs:
sdltrs: http://sdltrs.sourceforge.net/