summaryrefslogtreecommitdiff
path: root/homebrew/wabt
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/wabt')
-rw-r--r--homebrew/wabt/.beer23
-rw-r--r--homebrew/wabt/.make.sh-auto4
-rw-r--r--homebrew/wabt/_metadata/description1
-rw-r--r--homebrew/wabt/_metadata/homepage1
-rw-r--r--homebrew/wabt/_metadata/name1
-rw-r--r--homebrew/wabt/_metadata/version1
-rwxr-xr-xhomebrew/wabt/download.sh1
7 files changed, 32 insertions, 0 deletions
diff --git a/homebrew/wabt/.beer b/homebrew/wabt/.beer
new file mode 100644
index 000000000..88b556278
--- /dev/null
+++ b/homebrew/wabt/.beer
@@ -0,0 +1,23 @@
+{
+ "name": "Wabt",
+ "description": "Web Assembly Binary Toolkit",
+ "url": "https://github.com/WebAssembly/wabt/archive/1.0.8.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/WebAssembly/wabt",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", \"-DBUILD_TESTS=OFF\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.0.8",
+ "file": "wabt.rb"
+} \ No newline at end of file
diff --git a/homebrew/wabt/.make.sh-auto b/homebrew/wabt/.make.sh-auto
new file mode 100644
index 000000000..68021ee91
--- /dev/null
+++ b/homebrew/wabt/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+mkdir "build" && cd build
+cmake .. -DBUILD_TESTS=OFF -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/wabt/_metadata/description b/homebrew/wabt/_metadata/description
new file mode 100644
index 000000000..f38f25499
--- /dev/null
+++ b/homebrew/wabt/_metadata/description
@@ -0,0 +1 @@
+Web Assembly Binary Toolkit
diff --git a/homebrew/wabt/_metadata/homepage b/homebrew/wabt/_metadata/homepage
new file mode 100644
index 000000000..01c37bbd5
--- /dev/null
+++ b/homebrew/wabt/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/WebAssembly/wabt
diff --git a/homebrew/wabt/_metadata/name b/homebrew/wabt/_metadata/name
new file mode 100644
index 000000000..5c1ad7a14
--- /dev/null
+++ b/homebrew/wabt/_metadata/name
@@ -0,0 +1 @@
+Wabt
diff --git a/homebrew/wabt/_metadata/version b/homebrew/wabt/_metadata/version
new file mode 100644
index 000000000..b0f3d96f8
--- /dev/null
+++ b/homebrew/wabt/_metadata/version
@@ -0,0 +1 @@
+1.0.8
diff --git a/homebrew/wabt/download.sh b/homebrew/wabt/download.sh
new file mode 100755
index 000000000..b01ae44b4
--- /dev/null
+++ b/homebrew/wabt/download.sh
@@ -0,0 +1 @@
+wget https://github.com/WebAssembly/wabt/archive/1.0.8.tar.gz \ No newline at end of file