aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/hatari_tos_roms/README22
-rw-r--r--games/hatari_tos_roms/hatari_tos_roms.SlackBuild54
-rw-r--r--games/hatari_tos_roms/hatari_tos_roms.info8
-rw-r--r--games/hatari_tos_roms/slack-desc18
4 files changed, 102 insertions, 0 deletions
diff --git a/games/hatari_tos_roms/README b/games/hatari_tos_roms/README
new file mode 100644
index 000000000000..36b5d17f8ffc
--- /dev/null
+++ b/games/hatari_tos_roms/README
@@ -0,0 +1,22 @@
+TOS (Tramiel Operating System) ROM images for use with hatari.
+Versions 1.02 and 2.06 included.
+
+These images are copyrighted by Atari, Inc. It may be illegal to
+install this package in your jurisdiction!
+
+On the other hand, they're freely available on various web sites,
+and have been for many years with no legal action taken.
+
+The SlackBuild script requires the UK ROM images, which are sufficient
+for most uses. A few games and demos, however, will require the US ROM
+versions. If the file tos_us.zip is present in the directory with th
+SlackBuild, these ROMs will be included in the package as well. Get
+them from:
+
+http://steem.atari.st/tos_us.zip
+(md5sum bf250988783a0d468711a1057215fd73)
+
+The hatari emulator will use /usr/share/hatari/tos.img by default. This
+package creates a symlink from tos-1.02-uk.img to tos.img, so the
+emulator will use this ROM image. To use a different ROM, either change
+the symlink or give the ROM image location on the hatari command line.
diff --git a/games/hatari_tos_roms/hatari_tos_roms.SlackBuild b/games/hatari_tos_roms/hatari_tos_roms.SlackBuild
new file mode 100644
index 000000000000..69652f2acae2
--- /dev/null
+++ b/games/hatari_tos_roms/hatari_tos_roms.SlackBuild
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+# Slackware build script for hatari_tos_roms
+# Written by B. Watson (yalhcru@gmail.com)
+
+# The version number is just the date when the script was written.
+# The actual TOS ROM versions are 1.02-uk, 2.06-uk, and optionally
+# 1.02-us and 2.06-us.
+
+# the US ROMs are optional. They come from
+# http://steem.atari.st/tos_us.zip
+# (md5sum bf250988783a0d468711a1057215fd73)
+# If they're present, they get included in the package, and the
+# slack-desc gets modified to say so.
+
+PRGNAM=hatari_tos_roms
+VERSION=${VERSION-20090122}
+ARCH=noarch
+BUILD=${BUILD-1}
+TAG=${TAG-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $PKG/usr/share/hatari $PKG/install
+
+cd $PKG/usr/share/hatari
+unzip $CWD/tos_uk.zip
+
+mv Tos206.img tos-2.06-uk.img
+mv Tos102.img tos-1.02-uk.img
+
+US="$PRGNAM: This package includes only the UK ROM images."
+if [ -f $CWD/tos_us.zip ]; then
+ unzip $CWD/tos_us.zip
+ mv Tos206us.img tos-2.06-us.img
+ mv Tos102us.img tos-1.02-us.img
+ US="$PRGNAM: This package includes both the US and UK ROM images."
+fi
+
+# hatari uses this image by default.
+# 1.02 is better for games...
+ln -s tos-1.02-uk.img tos.img
+
+cat $CWD/slack-desc >$PKG/install/slack-desc
+echo "$US" >> $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/games/hatari_tos_roms/hatari_tos_roms.info b/games/hatari_tos_roms/hatari_tos_roms.info
new file mode 100644
index 000000000000..994c4cdeb916
--- /dev/null
+++ b/games/hatari_tos_roms/hatari_tos_roms.info
@@ -0,0 +1,8 @@
+PRGNAM="hatari_tos_roms"
+VERSION="20090122"
+HOMEPAGE="http://steem.atari.st"
+DOWNLOAD="http://steem.atari.st/tos_uk.zip"
+MD5SUM="51778c08eaabe70020b30bf87b04ec7f"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
+APPROVED="rworkman"
diff --git a/games/hatari_tos_roms/slack-desc b/games/hatari_tos_roms/slack-desc
new file mode 100644
index 000000000000..e9a9c167f3b3
--- /dev/null
+++ b/games/hatari_tos_roms/slack-desc
@@ -0,0 +1,18 @@
+# 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_tos_roms: TOS (Tramiel Operating System) ROM images for hatari.
+hatari_tos_roms:
+hatari_tos_roms: TOS ROM Images for hatari - Versions 1.02 and 2.06 included.
+hatari_tos_roms:
+hatari_tos_roms: These images are copyrighted by Atari, Inc. It may be illegal
+hatari_tos_roms: to install this package in your jurisdiction!
+hatari_tos_roms:
+hatari_tos_roms: On the other hand, they're freely available on various web
+hatari_tos_roms: sites and have been for many years with no legal action taken.
+hatari_tos_roms: