aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/atari++.rb
diff options
context:
space:
mode:
authorJochen Schäfer2013-02-11 19:41:58 +0100
committerAdam Vandenberg2013-05-02 11:44:37 -0700
commit539dfbef468220c359766f8c2a463ffc07403e6c (patch)
tree1885bcb46cbe16747248f5dd2c7a495cac4844b0 /Library/Formula/atari++.rb
parent98c5b964542a282f5e4fb0cc07f6cb24f29b534a (diff)
downloadhomebrew-539dfbef468220c359766f8c2a463ffc07403e6c.tar.bz2
atari++ 1.71
Closes #17766. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/atari++.rb')
-rw-r--r--Library/Formula/atari++.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/atari++.rb b/Library/Formula/atari++.rb
new file mode 100644
index 000000000..85edef41a
--- /dev/null
+++ b/Library/Formula/atari++.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Atarixx < Formula
+ homepage 'http://www.xl-project.com'
+ url 'http://www.xl-project.com/download/atari++_1.71.tar.gz'
+ sha1 '6d18494068bf491077cff32de514a1118bb133b1'
+
+ option 'with-curses'
+
+ depends_on :x11
+ depends_on 'sdl' => :recommended
+
+ def install
+ args = ["--prefix=#{prefix}"]
+ args << "--disable-CURSES" unless build.include? 'with-curses'
+ args << "--disable-SDL" unless build.include? 'with-sdl'
+
+ system "./configure", *args
+ system "make"
+ system "make install"
+ end
+end