homebrew-core/Formula/dosbox.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

27 lines
700 B
Ruby

require 'formula'
require 'hardware'
class Dosbox <Formula
url 'http://downloads.sourceforge.net/project/dosbox/dosbox/0.74/dosbox-0.74.tar.gz'
homepage 'http://www.dosbox.com/'
md5 'b9b240fa87104421962d14eee71351e8'
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",
"--enable-core-inline"
system "make"
bin.install 'src/dosbox'
man1.install gzip('docs/dosbox.1')
end
end