homebrew-core/Formula/qemu.rb
Will Ross 6ec00b5bfc Qemu 1.2.1
Closes Homebrew/homebrew#16170.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-25 08:48:34 -08:00

31 lines
698 B
Ruby

require 'formula'
class Qemu < Formula
homepage 'http://www.qemu.org/'
url 'http://wiki.qemu-project.org/download/qemu-1.2.1.tar.bz2'
sha1 'd0cb468d967d2981fb2b9acadf6ab16682cc71a8'
depends_on 'jpeg'
depends_on 'gnutls'
depends_on 'glib'
fails_with :clang do
build 421
cause 'Compile error: global register variables are not supported'
end
def install
# Disable the sdl backend. Let it use CoreAudio instead.
args = %W[
--prefix=#{prefix}
--cc=#{ENV.cc}
--host-cc=#{ENV.cc}
--enable-cocoa
--disable-bsd-user
--disable-guest-agent
--disable-sdl
]
system "./configure", *args
system "make install"
end
end