diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-13 00:58:06 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:58:06 +0200 |
commit | 8b140da2034a1ca2bb70a808cb6127b0d0c2c568 (patch) | |
tree | d65137006d62fe84db1dbdc50fde32c952590180 /games/atari++ | |
parent | 3e0f09fb81fee4ed33861ab0dc5996128711c478 (diff) |
games/atari++: Added to 13.0 repository
Diffstat (limited to 'games/atari++')
-rw-r--r-- | games/atari++/README | 27 | ||||
-rw-r--r-- | games/atari++/atari++.SlackBuild | 92 | ||||
-rw-r--r-- | games/atari++/atari++.desktop | 10 | ||||
-rw-r--r-- | games/atari++/atari++.info | 10 | ||||
-rw-r--r-- | games/atari++/atari++.png | bin | 0 -> 310 bytes | |||
-rw-r--r-- | games/atari++/doinst.sh | 4 | ||||
-rw-r--r-- | games/atari++/slack-desc | 19 |
7 files changed, 162 insertions, 0 deletions
diff --git a/games/atari++/README b/games/atari++/README new file mode 100644 index 0000000000000..037873fd9f6ae --- /dev/null +++ b/games/atari++/README @@ -0,0 +1,27 @@ +The Atari++ Emulator is a Unix based emulator of the Atari eight bit +computers, namely the Atari 400 and 800, the Atari 600XL, 800XL and 130XE, +and the Atari 5200 game console. The emulator is auto-configurable and +will compile on a variety of systems (Linux, Solaris, Irix), and supports +many emulation features. + +Atari++ includes OS++, an open source replacement Atari 8-bit operating +system, so it's able to run many games and applications without the +Atari ROM images. However, for maximum compatibility, you probably will +want the original ROMs. To get them, install the atari800_roms package, +then use the atari++ GUI to set the ROM file paths to the images in +/usr/share/atari800/roms/. There is no need to install the atari800_os++ +package for use with atari++ (OS++ is built into the emulator). + +Notes: + +1. Atari++, by default, is built with a fancy set of CFLAGS that the +author includes in his makefile. If you're picky about such things, or if +you run into crashes or compile errors, try setting FORCE_SLACK_CFLAGS=yes +in the environment before running atari++.SlackBuild + +2. The Atari++ author doesn't keep old versions available on the +site. This script was written for Atari++ version 1.57. By the time you +read this, there may be a new release. If you are unable to find the 1.57 +source, you can either download the latest version and run the script as +'VERSION=<whatever> ./atari++.SlackBuild', or else search for the 1.57 +source somewhere other than the author's homepage. diff --git a/games/atari++/atari++.SlackBuild b/games/atari++/atari++.SlackBuild new file mode 100644 index 0000000000000..8cba7da25b4dd --- /dev/null +++ b/games/atari++/atari++.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/sh + +# Slackware build script for atari++ + +# Written by B. Watson (yalhcru@gmail.com) + +PRGNAM=atari++ +VERSION=${VERSION:-1.58} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +# Do you want to force the package to be compiled with standard +# Slackware CFLAGS, as set below? The author's makefile includes +# a fancy set of flags, which the program has presumably been tested +# with, so it should be fine to use them. If you're a stickler about +# Slackware-ism, you can build with FORCE_SLACK_CFLAGS=yes to use +# $SLKCFLAGS instead of the author's. +FORCE_SLACK_CFLAGS=${FORCE_SLACK_CFLAGS:-no} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM +tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz +cd $PRGNAM +chown -R root:root . +chmod -R a-s,u+w,go+r-w . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --build=$ARCH-slackware-linux + +if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then + make OPTIMIZER="$SLKCFLAGS" +else + make +fi + +# no DESTDIR support, --mandir is ignored, docs go to /usr/share/doc, +# let's not use `make install' at all. +mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION + +install -s -m0755 -o root -g root $PRGNAM $PKG/usr/bin + +# Man page should be section 1, not 6 +sed -e 's/^\(\.TH atari++\) 6/\1 1/' < $PRGNAM.man | \ + gzip -9c - > $PKG/usr/man/man1/$PRGNAM.1.gz + +mkdir -p $PKG/usr/share/{applications,pixmaps} +cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications +cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + COPYRIGHT CREDITS ARCHITECTURE README.History README.LEGAL README.licence \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html +cp manual/* $PKG/usr/doc/$PRGNAM-$VERSION/html + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/atari++/atari++.desktop b/games/atari++/atari++.desktop new file mode 100644 index 0000000000000..b2ea28b399824 --- /dev/null +++ b/games/atari++/atari++.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Name=Atari++ Emulator +GenericName=Atari 8-Bit Emulator +Type=Application +Exec=atari++ +Icon=atari++ +Terminal=false +StartupNotify=false +Categories=Game;Emulator; diff --git a/games/atari++/atari++.info b/games/atari++/atari++.info new file mode 100644 index 0000000000000..5e1e4d5cc6de4 --- /dev/null +++ b/games/atari++/atari++.info @@ -0,0 +1,10 @@ +PRGNAM="atari++" +VERSION="1.58" +HOMEPAGE="http://www.xl-project.com/" +DOWNLOAD="http://www.xl-project.com/download/atari++_1.58.tar.gz" +MD5SUM="acb7c15fc2a848440d62252661ac2b97" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" +APPROVED="rworkman" diff --git a/games/atari++/atari++.png b/games/atari++/atari++.png Binary files differnew file mode 100644 index 0000000000000..3fa1a474ed5c9 --- /dev/null +++ b/games/atari++/atari++.png diff --git a/games/atari++/doinst.sh b/games/atari++/doinst.sh new file mode 100644 index 0000000000000..4e8ba7071dea7 --- /dev/null +++ b/games/atari++/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/games/atari++/slack-desc b/games/atari++/slack-desc new file mode 100644 index 0000000000000..808c822922d8c --- /dev/null +++ b/games/atari++/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------------------------------------------------------| +atari++: atari++ (Atari 400/800/XL/XE/5200 emulator) +atari++: +atari++: The Atari++ Emulator is a Unix based emulator of the Atari eight +atari++: bit computers, namely the Atari 400 and 800, the Atari 600XL, +atari++: 800XL and 130XE, and the Atari 5200 game console. The emulator is +atari++: auto-configurable and will compile on a variety of systems (Linux, +atari++: Solaris, Irix), and supports many emulation features. +atari++: +atari++: +atari++: +atari++: |