homebrew-core/Formula/dosbox.rb

28 lines
712 B
Ruby
Raw Normal View History

2010-03-10 07:09:19 +00:00
require 'formula'
require 'hardware'
class Dosbox <Formula
2010-05-16 11:23:14 +00:00
url 'http://downloads.sourceforge.net/project/dosbox/dosbox/0.74/dosbox-0.74.tar.gz'
2010-03-10 07:09:19 +00:00
homepage 'http://www.dosbox.com/'
2010-05-16 11:23:14 +00:00
md5 'b9b240fa87104421962d14eee71351e8'
2010-03-10 07:09:19 +00:00
depends_on 'sdl'
depends_on 'sdl_net'
depends_on 'sdl_sound'
def install
ENV.libpng
ENV.fast
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--disable-sdltest",
2010-05-16 11:23:14 +00:00
"--enable-core-inline"
2010-03-10 07:09:19 +00:00
system "make"
bin.install 'src/dosbox'
man1.install gzip('docs/dosbox.1')
end
end