summaryrefslogtreecommitdiff
path: root/homebrew/vc4asm
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/vc4asm
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/vc4asm')
-rw-r--r--homebrew/vc4asm/.beer27
-rw-r--r--homebrew/vc4asm/.make.sh-auto7
-rw-r--r--homebrew/vc4asm/_metadata/description1
-rw-r--r--homebrew/vc4asm/_metadata/homepage1
-rw-r--r--homebrew/vc4asm/_metadata/name1
-rw-r--r--homebrew/vc4asm/_metadata/version1
-rwxr-xr-xhomebrew/vc4asm/download.sh1
7 files changed, 39 insertions, 0 deletions
diff --git a/homebrew/vc4asm/.beer b/homebrew/vc4asm/.beer
new file mode 100644
index 000000000..d0db6583d
--- /dev/null
+++ b/homebrew/vc4asm/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "Vc4asm",
+ "description": "Macro assembler for Broadcom VideoCore IV aka Raspberry Pi GPU",
+ "url": "https://github.com/maazl/vc4asm/archive/V0.2.3.tar.gz",
+ "mirror": null,
+ "homepage": "http://maazl.de/project/vc4asm/doc/index.html",
+ "depends": [],
+ "resource": [
+ {
+ "name": "old_makefile",
+ "url": "https://raw.githubusercontent.com/maazl/vc4asm/c6991f0/src/Makefile"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.cxx11",
+ "inreplace \"src/utils.cpp\", \"#include <unistd.h>\",",
+ "\"#include <unistd.h>\\n#include <errno.h>\"",
+ "(buildpath/\"src\").install resource(\"old_makefile\")",
+ "system \"make\", \"-C\", \"src\"",
+ "bin.install \"bin/vc4asm\", \"bin/vc4dis\"",
+ "share.install \"share/vc4.qinc\""
+ ],
+ "version": "0.2.3",
+ "file": "vc4asm.rb"
+} \ No newline at end of file
diff --git a/homebrew/vc4asm/.make.sh-auto b/homebrew/vc4asm/.make.sh-auto
new file mode 100644
index 000000000..045c9abf2
--- /dev/null
+++ b/homebrew/vc4asm/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.cxx11
+inreplace "src/utils.cpp", "#include <unistd.h>", "#include <unistd.h>\n#include <errno.h>"
+(buildpath/"src").install resource("old_makefile")
+make -C src
+bin.install "bin/vc4asm", "bin/vc4dis"
+share.install "share/vc4.qinc"
diff --git a/homebrew/vc4asm/_metadata/description b/homebrew/vc4asm/_metadata/description
new file mode 100644
index 000000000..d32841f6c
--- /dev/null
+++ b/homebrew/vc4asm/_metadata/description
@@ -0,0 +1 @@
+Macro assembler for Broadcom VideoCore IV aka Raspberry Pi GPU
diff --git a/homebrew/vc4asm/_metadata/homepage b/homebrew/vc4asm/_metadata/homepage
new file mode 100644
index 000000000..400fb061b
--- /dev/null
+++ b/homebrew/vc4asm/_metadata/homepage
@@ -0,0 +1 @@
+http://maazl.de/project/vc4asm/doc/index.html
diff --git a/homebrew/vc4asm/_metadata/name b/homebrew/vc4asm/_metadata/name
new file mode 100644
index 000000000..78de6461b
--- /dev/null
+++ b/homebrew/vc4asm/_metadata/name
@@ -0,0 +1 @@
+Vc4asm
diff --git a/homebrew/vc4asm/_metadata/version b/homebrew/vc4asm/_metadata/version
new file mode 100644
index 000000000..717903969
--- /dev/null
+++ b/homebrew/vc4asm/_metadata/version
@@ -0,0 +1 @@
+0.2.3
diff --git a/homebrew/vc4asm/download.sh b/homebrew/vc4asm/download.sh
new file mode 100755
index 000000000..398dbbab0
--- /dev/null
+++ b/homebrew/vc4asm/download.sh
@@ -0,0 +1 @@
+wget https://github.com/maazl/vc4asm/archive/V0.2.3.tar.gz \ No newline at end of file