mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/xtrs: Miscellaneous cleanups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
b92a788c3c
commit
0753bf962e
3 changed files with 8 additions and 14 deletions
|
@ -1,5 +1,3 @@
|
|||
xtrs: TRS-80 Model I/III/4/4P Emulator for Unix
|
||||
|
||||
xtrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Unix and the X
|
||||
Window system. It includes lower case, the real time clock, hi-res graphics,
|
||||
serial port, parallel printer, mouse, cassette, sound and music output
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
xtrs: xtrs: TRS-80 Model I/III/4/4P Emulator for Unix
|
||||
xtrs: xtrs (TRS-80 Model I/III/4/4P Emulator for Unix)
|
||||
xtrs:
|
||||
xtrs: xtrs is a Radio Shack TRS-80 Model I/III/4/4P emulator for Unix and
|
||||
xtrs: the X Window system. It includes lower case, the real time clock, hi-
|
||||
|
|
|
@ -2,20 +2,18 @@
|
|||
|
||||
# Slackware build script for xtrs - the X Windows TRS-80 emulator
|
||||
|
||||
# Written by Niels Horn - niels.horn@gmail.com
|
||||
# revision date 2009/09/05
|
||||
# Written by Niels Horn <niels.horn@gmail.com>
|
||||
# revision date 2010/07/17
|
||||
|
||||
PRGNAM=xtrs
|
||||
VERSION=4.9d
|
||||
BUILD=${BUILD:-1}
|
||||
VERSION=${VERSION:-4.9d}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -61,7 +59,7 @@ make \
|
|||
APPDEFAULTS='-DAPPDEFAULTS=\"/etc/X11/app-defaults\"'
|
||||
|
||||
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
|
||||
make BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man install || exit
|
||||
make BINDIR=$PKG/usr/bin MANDIR=$PKG/usr/man install
|
||||
|
||||
# Make a directory for the ROMs (not included), include fakerom.hex & xtrsrom4p.hex
|
||||
mkdir -p $PKG/usr/share/xtrs
|
||||
|
@ -75,10 +73,8 @@ cp -a $CWD/xtrs-ico.png $PKG/usr/share/pixmaps
|
|||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a ChangeLog README xtrsrom4p.README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in a new issue