mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
games/hatari: Added to 12.2 repository
This commit is contained in:
parent
8a8cc49e86
commit
02dab248db
4 changed files with 108 additions and 0 deletions
27
games/hatari/README
Normal file
27
games/hatari/README
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
Hatari is an Atari ST and STE emulator for Linux, BSD, BeOS, Mac OS X and
|
||||||
|
other systems that are supported by the SDL library. The Atari ST was a
|
||||||
|
16/32 bit computer system which was first released by Atari in 1985. Using
|
||||||
|
the Motorola 68000 CPU, it was a very popular computer having quite a lot
|
||||||
|
of CPU power at that time.
|
||||||
|
|
||||||
|
Unlike many other Atari ST emulators which try to give you a good
|
||||||
|
environment for running GEM applications, Hatari tries to emulate the
|
||||||
|
hardware of a ST as close as possible so that it is able to run most
|
||||||
|
of the old ST games and demos.
|
||||||
|
|
||||||
|
Hatari is open source software and is distributed under the terms of the
|
||||||
|
GNU General Public License (GPL). The SF project page is available at:
|
||||||
|
http://sourceforge.net/projects/hatari/
|
||||||
|
|
||||||
|
Before you can actually run the emulator, you also need a TOS image
|
||||||
|
file. TOS is the built-in operating system of the Atari 16/32 bit
|
||||||
|
computers. Since it is not possible to ship one of these image files
|
||||||
|
with Hatari, you either have to create your own image from your Atari
|
||||||
|
or you have to use EmuTOS, a free TOS replacement.
|
||||||
|
|
||||||
|
It's also possible to download the ROM images from the net. See the
|
||||||
|
package hatari_tos_roms, also on slackbuilds.org.
|
||||||
|
|
||||||
|
EmuTOS is included in this package, so you can run at least some ST
|
||||||
|
applications without installing the real ROMs, but not many programs
|
||||||
|
work with EmuTOS (especially not games).
|
54
games/hatari/hatari.SlackBuild
Normal file
54
games/hatari/hatari.SlackBuild
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for hatari
|
||||||
|
# Written by B. Watson (yalhcru@gmail.com)
|
||||||
|
|
||||||
|
PRGNAM=hatari
|
||||||
|
VERSION=${VERSION-1.1.0}
|
||||||
|
ARCH=${ARCH-i486}
|
||||||
|
BUILD=${BUILD-1}
|
||||||
|
TAG=${TAG-_SBo}
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP-/tmp/SBo}
|
||||||
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -rf $PKG $TMP/$PRGNAM-$VERSION
|
||||||
|
mkdir -p $PKG $PKG/install $PKG/etc/$PRGNAM
|
||||||
|
|
||||||
|
cd $TMP
|
||||||
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||||
|
cd $PRGNAM-$VERSION
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
--sysconfdir=/etc/$PRGNAM
|
||||||
|
make
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
# amazingly, the man page is already gzipped and the binary
|
||||||
|
# is already stripped!
|
||||||
|
|
||||||
|
# this doc doesn't get installed in v1.1.0:
|
||||||
|
cp -a tools/hmsa/readme-hmsa.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
chown root:root $PKG/usr/doc/$PRGNAM-$VERSION/readme-hmsa.txt
|
||||||
|
|
||||||
|
( cd $PKG/usr/share/$PRGNAM && mv tos.img emutos.img && ln -s emutos.img tos.img )
|
||||||
|
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
|
cd $PKG
|
||||||
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
8
games/hatari/hatari.info
Normal file
8
games/hatari/hatari.info
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
PRGNAM="hatari"
|
||||||
|
VERSION="1.1.0"
|
||||||
|
HOMEPAGE="http://hatari.berlios.de/"
|
||||||
|
DOWNLOAD="http://download.berlios.de/hatari/hatari-1.1.0.tar.bz2"
|
||||||
|
MD5SUM="e782830f4d82dccb017159b302fd8b62"
|
||||||
|
MAINTAINER="B. Watson"
|
||||||
|
EMAIL="yalhcru@gmail.com"
|
||||||
|
APPROVED="rworkman"
|
19
games/hatari/slack-desc
Normal file
19
games/hatari/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler-------------------------------------------------------|
|
||||||
|
hatari: Hatari (Atari ST and STE Emulator)
|
||||||
|
hatari:
|
||||||
|
hatari: Hatari is an Atari ST and STE emulator for Linux and other systems
|
||||||
|
hatari: that are supported by the SDL library. The Atari ST was a 16/32 bit
|
||||||
|
hatari: computer system which was first released by Atari in 1985.
|
||||||
|
hatari:
|
||||||
|
hatari: Hatari tries to emulate the hardware of a ST as close as possible so
|
||||||
|
hatari: that it is able to run most of the old ST games and demos.
|
||||||
|
hatari:
|
||||||
|
hatari: Homepage: http://sourceforge.net/projects/hatari/
|
||||||
|
hatari:
|
Loading…
Reference in a new issue