summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/atari800_roms/README15
-rw-r--r--games/atari800_roms/atari800_roms.SlackBuild59
-rw-r--r--games/atari800_roms/atari800_roms.info10
-rw-r--r--games/atari800_roms/slack-desc19
4 files changed, 103 insertions, 0 deletions
diff --git a/games/atari800_roms/README b/games/atari800_roms/README
new file mode 100644
index 0000000000..a5d23991f8
--- /dev/null
+++ b/games/atari800_roms/README
@@ -0,0 +1,15 @@
+atari800_roms (system ROMs for Atari 8-bit computers)
+
+The operating system and BASIC language ROM images from the Atari 800 and
+800XL computers. The ROM images are installed in /usr/share/atari800/,
+for use with the atari800 emulator, but may be used with other emulators
+such as Atari++.
+
+Also included are bootable disk images for Atari DOS 2.5 and MyDOS
+4.5d, and a couple of disks of demo software. These are installed in
+/usr/share/atari800/disks.
+
+These ROM images are proprietary and copyrighted, but the copyright holder
+granted the right to redistribute them to the authors of PC Xformer, a
+(now obsolete) Atari emulator. This build extracts the ROMs from the PC
+Xformer zip file.
diff --git a/games/atari800_roms/atari800_roms.SlackBuild b/games/atari800_roms/atari800_roms.SlackBuild
new file mode 100644
index 0000000000..0fbb6129fd
--- /dev/null
+++ b/games/atari800_roms/atari800_roms.SlackBuild
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+# Slackware build script for Atari OS ROMs
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# VERSION is just this script's modification date.
+# No need for ARCH detection or LIBDIRSUFFIX stuff.
+# Too bad I can't put m6502 for $ARCH...
+
+PRGNAM=atari800_roms
+VERSION=${VERSION:-20140424}
+
+ARCH=noarch
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+ZIPFILE=xf25.zip
+SHAREDIR=/usr/share/atari800
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT $PKG/$SHAREDIR/$PRGNAM $PKG/$SHAREDIR/disks
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+unzip -LL $CWD/$ZIPFILE
+
+# No find/chown/chmod, install everything with cat or with explicit perms.
+# The .exe and .doc files inside the zip file are useless.
+install -m0644 -oroot -groot *.rom $PKG/$SHAREDIR/$PRGNAM
+install -m0644 -oroot -groot *.atr *.xfd $PKG/$SHAREDIR/disks
+
+# These symlinks are here in case I ever package up Thor's OS++. It's an
+# open source replacement for the Atari ROMs, and the symlinks would allow
+# picking which ROM to use, like Slackware's /usr/bin/vi does for vim
+# and elvis.
+for rom in ataribas atariosb atarixl; do
+ ln -s $PRGNAM/$rom.rom $PKG/$SHAREDIR/$rom.rom
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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.${PKGTYPE:-tgz}
diff --git a/games/atari800_roms/atari800_roms.info b/games/atari800_roms/atari800_roms.info
new file mode 100644
index 0000000000..a332b0f0b4
--- /dev/null
+++ b/games/atari800_roms/atari800_roms.info
@@ -0,0 +1,10 @@
+PRGNAM="atari800_roms"
+VERSION="20140424"
+HOMEPAGE="http://atari800.sourceforge.net/"
+DOWNLOAD="http://downloads.sourceforge.net/sourceforge/atari800/xf25.zip"
+MD5SUM="4dc3b6b4313e9596c4d474785a37b94d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/games/atari800_roms/slack-desc b/games/atari800_roms/slack-desc
new file mode 100644
index 0000000000..4e79cd73c3
--- /dev/null
+++ b/games/atari800_roms/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 ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+atari800_roms: atari800_roms (system ROMs for Atari 8-bit computers)
+atari800_roms:
+atari800_roms: The operating system and BASIC language ROM images from the
+atari800_roms: Atari 800 and 800XL computers. The ROM images are installed in
+atari800_roms: /usr/share/atari800/, for use with the atari800 emulator, but may
+atari800_roms: be used with other emulators such as Atari++.
+atari800_roms:
+atari800_roms: Also included are bootable disk images for Atari DOS 2.5 and MyDOS
+atari800_roms: 4.5d, and a couple of disks of demo software. These are installed
+atari800_roms: in /usr/share/atari800/disks.
+atari800_roms: