Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
qemu 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Apr 29, 2012
1 parent 5c27d1d commit 1a3c5ac
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Library/Formula/qemu.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
require 'formula'

class Qemu < Formula
url 'http://wiki.qemu.org/download/qemu-0.15.0.tar.gz'
homepage 'http://www.qemu.org/'
md5 'dbc55b014bcd21b98e347f6a90f7fb6d'
url 'http://wiki.qemu.org/download/qemu-1.0.1.tar.gz'
sha1 '4d08b5a83538fcd7b222bec6f1c584da8d12497a'

depends_on 'jpeg'
depends_on 'gnutls'

fails_with :llvm do
cause "Segmentation faults occur at run-time with LLVM using qemu-system-arm."
# Borrow these patches from MacPorts
def patches
{ :p0 => [
"https://trac.macports.org/export/92470/trunk/dports/emulators/qemu/files/patch-configure.diff",
"https://trac.macports.org/export/92470/trunk/dports/emulators/qemu/files/patch-cocoa-uint16-redefined.diff"
]}
end

def install
system "./configure", "--prefix=#{prefix}",
"--cc=#{ENV.cc}",
"--host-cc=#{ENV.cc}",
"--disable-darwin-user",
"--enable-cocoa",
"--disable-bsd-user",
Expand Down

0 comments on commit 1a3c5ac

Please sign in to comment.