summaryrefslogtreecommitdiff
path: root/homebrew/v8at315
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/v8at315')
-rw-r--r--homebrew/v8at315/.beer35
-rw-r--r--homebrew/v8at315/.make.sh-auto10
-rw-r--r--homebrew/v8at315/_metadata/description1
-rw-r--r--homebrew/v8at315/_metadata/homepage1
-rw-r--r--homebrew/v8at315/_metadata/name1
-rw-r--r--homebrew/v8at315/_metadata/version1
-rwxr-xr-xhomebrew/v8at315/download.sh1
7 files changed, 50 insertions, 0 deletions
diff --git a/homebrew/v8at315/.beer b/homebrew/v8at315/.beer
new file mode 100644
index 000000000..ae493634a
--- /dev/null
+++ b/homebrew/v8at315/.beer
@@ -0,0 +1,35 @@
+{
+ "name": "V8AT315",
+ "description": "Google",
+ "url": "https://github.com/v8/v8-git-mirror/archive/3.15.11.18.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/v8/v8/wiki",
+ "depends": [],
+ "resource": [
+ {
+ "name": "gyp",
+ "url": "https://chromium.googlesource.com/external/gyp.git"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.cxx11",
+ "ENV[\"GYP_DEFINES\"] = \"clang=1 mac_deployment_target=#{MacOS.version}\"",
+ "(buildpath/\"build/gyp\").install resource(\"gyp\")",
+ "inreplace \"tools/gyp/v8.gyp\",",
+ "\"'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']\",",
+ "\"\\\\0, 'DYLIB_INSTALL_NAME_BASE': '#{opt_lib}'\"",
+ "system \"make\", \"native\",",
+ "\"-j#{ENV.make_jobs}\",",
+ "\"library=shared\",",
+ "\"snapshot=on\",",
+ "\"console=readline\"",
+ "prefix.install \"include\"",
+ "cd \"out/native\" do",
+ "lib.install Dir[\"lib*\"]",
+ "bin.install \"d8\", \"lineprocessor\", \"mksnapshot\", \"preparser\", \"process\", \"shell\" => \"v8\""
+ ],
+ "version": "3.15.11.18",
+ "file": "v8@3.15.rb"
+} \ No newline at end of file
diff --git a/homebrew/v8at315/.make.sh-auto b/homebrew/v8at315/.make.sh-auto
new file mode 100644
index 000000000..dc7c3def8
--- /dev/null
+++ b/homebrew/v8at315/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+ENV.cxx11
+ENV["GYP_DEFINES"] = "clang=1 mac_deployment_target=#{MacOS.version}"
+(buildpath/"build/gyp").install resource("gyp")
+inreplace "tools/gyp/v8.gyp", "'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']", "\\0, 'DYLIB_INSTALL_NAME_BASE': '#{opt_lib}'"
+make native -j#{ENV.make_jobs} library=shared snapshot=on console=readline
+prefix.install "include"
+cd "out/native"
+lib.install Dir["lib*"]
+bin.install "d8", "lineprocessor", "mksnapshot", "preparser", "process", "shell" => "v8"
diff --git a/homebrew/v8at315/_metadata/description b/homebrew/v8at315/_metadata/description
new file mode 100644
index 000000000..b3259247a
--- /dev/null
+++ b/homebrew/v8at315/_metadata/description
@@ -0,0 +1 @@
+Google
diff --git a/homebrew/v8at315/_metadata/homepage b/homebrew/v8at315/_metadata/homepage
new file mode 100644
index 000000000..97afc8021
--- /dev/null
+++ b/homebrew/v8at315/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/v8/v8/wiki
diff --git a/homebrew/v8at315/_metadata/name b/homebrew/v8at315/_metadata/name
new file mode 100644
index 000000000..838be5a2c
--- /dev/null
+++ b/homebrew/v8at315/_metadata/name
@@ -0,0 +1 @@
+V8AT315
diff --git a/homebrew/v8at315/_metadata/version b/homebrew/v8at315/_metadata/version
new file mode 100644
index 000000000..f67b14fae
--- /dev/null
+++ b/homebrew/v8at315/_metadata/version
@@ -0,0 +1 @@
+3.15.11.18
diff --git a/homebrew/v8at315/download.sh b/homebrew/v8at315/download.sh
new file mode 100755
index 000000000..6e6c71fe2
--- /dev/null
+++ b/homebrew/v8at315/download.sh
@@ -0,0 +1 @@
+wget https://github.com/v8/v8-git-mirror/archive/3.15.11.18.tar.gz \ No newline at end of file