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

Commit

Permalink
bochs 2.6
Browse files Browse the repository at this point in the history
Closes #15188.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
bronzle authored and adamv committed Oct 2, 2012
1 parent 60ead1b commit 9c54aa1
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions Library/Formula/bochs.rb
@@ -0,0 +1,48 @@
require 'formula'

class Bochs < Formula
homepage 'http://bochs.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/bochs/bochs/2.6/bochs-2.6.tar.gz'
sha1 '327e7a6b5163a2795adae4a617554de4925b5cfe'

depends_on :x11
depends_on 'gtk+'

def install
system "./configure",
"--prefix=#{prefix}",
"--with-x11",
"--enable-debugger",
"--enable-disasm",
"--disable-docbook",
"--enable-x86-64",
"--enable-pci",
"--enable-all-optimizations",
"--enable-plugins",
"--enable-cdrom",
"--enable-a20-pin",
"--enable-fpu",
"--enable-alignment-check",
"--enable-large-ramfile",
"--enable-debugger-gui",
"--enable-readline",
"--enable-iodebug",
"--enable-xpm",
"--enable-show-ips",
"--enable-logging",
"--enable-usb",
"--enable-ne2000",
"--enable-cpu-level=6",
"--enable-sb16",
"--enable-clgd54xx",
"--with-term"
"--enable-ne2000"

system "make"
system "make install"
end

def test
system "#{bin}/bochs"
end
end

0 comments on commit 9c54aa1

Please sign in to comment.