2010-06-13 13:00:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Hatari < Formula
|
2012-02-18 12:50:05 +00:00
|
|
|
homepage 'http://hatari.tuxfamily.org'
|
2013-06-25 18:14:53 +00:00
|
|
|
url 'http://download.tuxfamily.org/hatari/1.7.0/hatari-1.7.0.tar.bz2'
|
|
|
|
sha1 '9961171c6d5f3742f93c903606c4956ce2e15ea0'
|
2010-06-13 13:00:22 +00:00
|
|
|
|
2013-05-13 11:53:18 +00:00
|
|
|
head 'http://hg.tuxfamily.org/mercurialroot/hatari/hatari', :using => :hg, :branch => 'default'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2013-11-29 06:42:35 +00:00
|
|
|
depends_on 'libpng' if MacOS.version <= :leopard
|
2010-06-13 13:00:22 +00:00
|
|
|
depends_on 'sdl'
|
|
|
|
|
|
|
|
def install
|
2012-02-18 12:50:05 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-osx-bundle"
|
2010-06-13 13:00:22 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|