3
0
Fork 0
forked from mirrors/nixpkgs

* Atari800 - an 8-bit Atari emulator.

svn path=/nixpkgs/trunk/; revision=6110
This commit is contained in:
Eelco Dolstra 2006-08-12 22:33:51 +00:00
parent b8da1b671d
commit 37832b3af0
3 changed files with 33 additions and 2 deletions

View file

@ -0,0 +1,15 @@
source $stdenv/setup
preConfigure=preConfigure
preConfigure() {
cd src
}
postInstall=postInstall
postInstall() {
romsDir=$out/share/atari800/roms
ensureDir $romsDir
unzip $rom -d $romsDir
}
genericBuild

View file

@ -0,0 +1,16 @@
{stdenv, fetchurl, unzip, zlib, SDL}:
stdenv.mkDerivation {
name = "atari800-2.0.2";
builder = ./builder.sh;
src = fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/atari800/atari800-2.0.2.tar.gz;
md5 = "a81f8a5ace5fd89eb6094faef7c936af";
};
rom = fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/atari800/xf25.zip;
md5 = "4dc3b6b4313e9596c4d474785a37b94d";
};
buildInputs = [unzip zlib SDL];
configureFlags = "--target=sdl";
}

View file

@ -2528,11 +2528,11 @@ rec {
inherit fetchurl stdenv;
};
/*
atari800 = (import ../misc/emulators/atari800) {
inherit fetchurl stdenv zlib SDL;
inherit fetchurl stdenv unzip zlib SDL;
};
/*
ataripp = (import ../misc/emulators/atari++) {
inherit fetchurl stdenv x11 SDL;
};