6ec00b5bfc
Closes Homebrew/homebrew#16170. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
31 lines
698 B
Ruby
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
|