summaryrefslogtreecommitdiff
path: root/homebrew/bochs
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/bochs
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/bochs')
-rw-r--r--homebrew/bochs/.beer66
-rw-r--r--homebrew/bochs/.make.sh-auto5
-rw-r--r--homebrew/bochs/_metadata/description1
-rw-r--r--homebrew/bochs/_metadata/homepage1
-rw-r--r--homebrew/bochs/_metadata/name1
-rw-r--r--homebrew/bochs/_metadata/version1
-rwxr-xr-xhomebrew/bochs/download.sh1
-rwxr-xr-xhomebrew/bochs/patches.sh1
8 files changed, 77 insertions, 0 deletions
diff --git a/homebrew/bochs/.beer b/homebrew/bochs/.beer
new file mode 100644
index 000000000..a583895ff
--- /dev/null
+++ b/homebrew/bochs/.beer
@@ -0,0 +1,66 @@
+{
+ "name": "Bochs",
+ "description": "Open source IA-32 (x86) PC emulator written in C++",
+ "url": "https://downloads.sourceforge.net/project/bochs/bochs/2.6.9/bochs-2.6.9.tar.gz",
+ "mirror": null,
+ "homepage": "https://bochs.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl2",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/e9b520dd4c/bochs/xcode9.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--disable-docbook",
+ "--enable-a20-pin",
+ "--enable-alignment-check",
+ "--enable-all-optimizations",
+ "--enable-avx",
+ "--enable-cdrom",
+ "--enable-clgd54xx",
+ "--enable-cpu-level=6",
+ "--enable-debugger",
+ "--enable-debugger-gui",
+ "--enable-disasm",
+ "--enable-fpu",
+ "--enable-iodebug",
+ "--enable-large-ramfile",
+ "--enable-logging",
+ "--enable-long-phy-address",
+ "--enable-pci",
+ "--enable-plugins",
+ "--enable-readline",
+ "--enable-show-ips",
+ "--enable-smp",
+ "--enable-usb",
+ "--enable-vmx=2",
+ "--enable-x86-64",
+ "--with-nogui",
+ "--with-sdl2",
+ "--with-term",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.6.9",
+ "file": "bochs.rb"
+} \ No newline at end of file
diff --git a/homebrew/bochs/.make.sh-auto b/homebrew/bochs/.make.sh-auto
new file mode 100644
index 000000000..281f82722
--- /dev/null
+++ b/homebrew/bochs/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --disable-docbook --enable-a20-pin --enable-alignment-check --enable-all-optimizations --enable-avx --enable-cdrom --enable-clgd54xx --enable-cpu-level=6 --enable-debugger --enable-debugger-gui --enable-disasm --enable-fpu --enable-iodebug --enable-large-ramfile --enable-logging --enable-long-phy-address --enable-pci --enable-plugins --enable-readline --enable-show-ips --enable-smp --enable-usb --enable-vmx=2 --enable-x86-64 --with-nogui --with-sdl2 --with-term ]
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/bochs/_metadata/description b/homebrew/bochs/_metadata/description
new file mode 100644
index 000000000..12a1ef820
--- /dev/null
+++ b/homebrew/bochs/_metadata/description
@@ -0,0 +1 @@
+Open source IA-32 (x86) PC emulator written in C++
diff --git a/homebrew/bochs/_metadata/homepage b/homebrew/bochs/_metadata/homepage
new file mode 100644
index 000000000..c3c53fa4a
--- /dev/null
+++ b/homebrew/bochs/_metadata/homepage
@@ -0,0 +1 @@
+https://bochs.sourceforge.io/
diff --git a/homebrew/bochs/_metadata/name b/homebrew/bochs/_metadata/name
new file mode 100644
index 000000000..8216a7630
--- /dev/null
+++ b/homebrew/bochs/_metadata/name
@@ -0,0 +1 @@
+Bochs
diff --git a/homebrew/bochs/_metadata/version b/homebrew/bochs/_metadata/version
new file mode 100644
index 000000000..d48d3702a
--- /dev/null
+++ b/homebrew/bochs/_metadata/version
@@ -0,0 +1 @@
+2.6.9
diff --git a/homebrew/bochs/download.sh b/homebrew/bochs/download.sh
new file mode 100755
index 000000000..5ecf6eaa0
--- /dev/null
+++ b/homebrew/bochs/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/bochs/bochs/2.6.9/bochs-2.6.9.tar.gz \ No newline at end of file
diff --git a/homebrew/bochs/patches.sh b/homebrew/bochs/patches.sh
new file mode 100755
index 000000000..f70bb3728
--- /dev/null
+++ b/homebrew/bochs/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/e9b520dd4c/bochs/xcode9.patch