2010-02-20 03:16:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Qemu < Formula
|
2011-08-19 22:04:14 +00:00
|
|
|
url 'http://wiki.qemu.org/download/qemu-0.15.0.tar.gz'
|
2010-02-20 03:16:32 +00:00
|
|
|
homepage 'http://www.qemu.org/'
|
2011-08-19 22:04:14 +00:00
|
|
|
md5 'dbc55b014bcd21b98e347f6a90f7fb6d'
|
2010-02-20 03:16:32 +00:00
|
|
|
|
2010-11-02 23:07:45 +00:00
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'gnutls'
|
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
cause "Segmentation faults occur at run-time with LLVM using qemu-system-arm."
|
|
|
|
end
|
2011-07-04 20:05:34 +00:00
|
|
|
|
2010-02-20 03:16:32 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--disable-darwin-user",
|
|
|
|
"--enable-cocoa",
|
2011-08-19 22:04:14 +00:00
|
|
|
"--disable-bsd-user",
|
|
|
|
"--disable-guest-agent"
|
2010-02-20 03:16:32 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|