mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/atari++: Added to 12.2 repository
This commit is contained in:
parent
73384fb71b
commit
cf92023694
7 changed files with 160 additions and 0 deletions
29
system/atari++/README
Normal file
29
system/atari++/README
Normal file
|
@ -0,0 +1,29 @@
|
|||
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 use a version number in the filename of
|
||||
the atari++.tgz distribution, and doesn't keep old versions available
|
||||
on the site. This script was written for Atari++ version 1.55. By the
|
||||
time you read this, there may be a new release. This script will extract
|
||||
the version number from atari++.tgz and set the VERSION in the package
|
||||
correctly, so you don't need to edit anything... but if there have been
|
||||
major changes to the Atari++ codebase, the script might fail on the
|
||||
latest version. Please contact the maintainer, in that case.
|
88
system/atari++/atari++.SlackBuild
Normal file
88
system/atari++/atari++.SlackBuild
Normal file
|
@ -0,0 +1,88 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for atari++
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
# Modified by the SlackBuilds.org project.
|
||||
|
||||
PRGNAM=atari++
|
||||
VERSION=${VERSION:-1.55}
|
||||
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"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R a-s,u+w,go+r-w .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man
|
||||
|
||||
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/doc/$PRGNAM-$VERSION
|
||||
cp 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/share/applications
|
||||
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
|
||||
|
||||
mkdir -p $PKG/usr/share/pixmaps
|
||||
cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
|
||||
|
||||
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.tgz
|
10
system/atari++/atari++.desktop
Normal file
10
system/atari++/atari++.desktop
Normal file
|
@ -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=Emulator;System;
|
8
system/atari++/atari++.info
Normal file
8
system/atari++/atari++.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="atari++"
|
||||
VERSION="1.55"
|
||||
HOMEPAGE="http://www.math.tu-berlin.de/~thor/atari++/"
|
||||
DOWNLOAD="http://slackbuilds.org/sources/12.2/atari++-1.55.tar.gz"
|
||||
MD5SUM="af6a67b303ef37b1f34ef48ed48fab51"
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
||||
APPROVED="dsomero"
|
BIN
system/atari++/atari++.png
Normal file
BIN
system/atari++/atari++.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 310 B |
6
system/atari++/doinst.sh
Normal file
6
system/atari++/doinst.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
19
system/atari++/slack-desc
Normal file
19
system/atari++/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------------------------------------------------------|
|
||||
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++:
|
Loading…
Reference in a new issue