From 02dab248db4cc7149a9e44c48469e84ed828906d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 12 May 2010 23:29:22 +0200 Subject: games/hatari: Added to 12.2 repository --- games/hatari/README | 27 +++++++++++++++++++++ games/hatari/hatari.SlackBuild | 54 ++++++++++++++++++++++++++++++++++++++++++ games/hatari/hatari.info | 8 +++++++ games/hatari/slack-desc | 19 +++++++++++++++ 4 files changed, 108 insertions(+) create mode 100644 games/hatari/README create mode 100644 games/hatari/hatari.SlackBuild create mode 100644 games/hatari/hatari.info create mode 100644 games/hatari/slack-desc (limited to 'games/hatari') diff --git a/games/hatari/README b/games/hatari/README new file mode 100644 index 0000000000..4647e7dc12 --- /dev/null +++ b/games/hatari/README @@ -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). diff --git a/games/hatari/hatari.SlackBuild b/games/hatari/hatari.SlackBuild new file mode 100644 index 0000000000..754f40216f --- /dev/null +++ b/games/hatari/hatari.SlackBuild @@ -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 diff --git a/games/hatari/hatari.info b/games/hatari/hatari.info new file mode 100644 index 0000000000..dd63ba7b36 --- /dev/null +++ b/games/hatari/hatari.info @@ -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" diff --git a/games/hatari/slack-desc b/games/hatari/slack-desc new file mode 100644 index 0000000000..d3674b7e53 --- /dev/null +++ b/games/hatari/slack-desc @@ -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: -- cgit v1.2.3