diff options
| author | Adam Vandenberg | 2014-08-05 21:18:07 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-08-05 21:42:05 -0700 |
| commit | 6a779377289778134f9f223077f11eb3954b7643 (patch) | |
| tree | 9c0659db0bc07a16202d75f53d9ee6275b374399 /Library/Formula | |
| parent | ce761f1337ac564095597ebbe4e01e304af96afe (diff) | |
| download | homebrew-6a779377289778134f9f223077f11eb3954b7643.tar.bz2 | |
qemu: add 2.1.0 bottle.
Closes #31383.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qemu.rb | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/Library/Formula/qemu.rb b/Library/Formula/qemu.rb index efb399664..e3b6aaad2 100644 --- a/Library/Formula/qemu.rb +++ b/Library/Formula/qemu.rb @@ -1,21 +1,25 @@ -require 'formula' +require "formula" class Qemu < Formula - homepage 'http://www.qemu.org/' - url 'http://wiki.qemu-project.org/download/qemu-2.1.0.tar.bz2' - sha1 'b2829491e4c2f3d32f7bc2860c3a19fb31f5e989' - revision 1 + homepage "http://www.qemu.org/" + head "git://git.qemu-project.org/qemu.git" + url "http://wiki.qemu-project.org/download/qemu-2.1.0.tar.bz2" + sha1 "b2829491e4c2f3d32f7bc2860c3a19fb31f5e989" - head 'git://git.qemu-project.org/qemu.git' + bottle do + sha1 "52345b6ec0fb3a9a4da93b3adc861e247a9d8702" => :mavericks + sha1 "2027be04ff3885fe38570e05726949b9b6029abc" => :mountain_lion + sha1 "d6603f9b5aa3e72c02f9495d287cc4cbd5a5bf22" => :lion + end - depends_on 'pkg-config' => :build - depends_on 'libtool' => :build - depends_on 'jpeg' - depends_on 'gnutls' - depends_on 'glib' - depends_on 'pixman' - depends_on 'vde' => :optional - depends_on 'sdl' => :optional + depends_on "pkg-config" => :build + depends_on "libtool" => :build + depends_on "jpeg" + depends_on "gnutls" + depends_on "glib" + depends_on "pixman" + depends_on "vde" => :optional + depends_on "sdl" => :optional def install args = %W[ @@ -26,10 +30,10 @@ class Qemu < Formula --disable-bsd-user --disable-guest-agent ] - args << (build.with?('sdl') ? '--enable-sdl' : '--disable-sdl') - args << (build.with?('vde') ? '--enable-vde' : '--disable-vde') - args << '--disable-gtk' - ENV['LIBTOOL'] = 'glibtool' + args << (build.with?("sdl") ? "--enable-sdl" : "--disable-sdl") + args << (build.with?("vde") ? "--enable-vde" : "--disable-vde") + args << "--disable-gtk" + ENV["LIBTOOL"] = "glibtool" system "./configure", *args system "make", "V=1", "install" end |
