2013-02-11 18:41:58 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Atarixx < Formula
|
|
|
|
homepage 'http://www.xl-project.com'
|
2013-11-28 08:41:12 +00:00
|
|
|
url 'http://www.xl-project.com/download/atari++_1.72.tar.gz'
|
|
|
|
sha1 '64e31389032292cd4a82a972e83bb2b3ee723068'
|
2013-02-11 18:41:58 +00:00
|
|
|
|
|
|
|
option 'with-curses'
|
|
|
|
|
|
|
|
depends_on :x11
|
|
|
|
depends_on 'sdl' => :recommended
|
|
|
|
|
|
|
|
def install
|
|
|
|
args = ["--prefix=#{prefix}"]
|
2014-03-06 20:40:26 +00:00
|
|
|
args << "--disable-CURSES" if build.without? "curses"
|
|
|
|
args << "--disable-SDL" if build.without? "sdl"
|
2013-02-11 18:41:58 +00:00
|
|
|
|
|
|
|
system "./configure", *args
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|