summaryrefslogtreecommitdiff
path: root/homebrew/chakra/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/chakra/.beer')
-rw-r--r--homebrew/chakra/.beer36
1 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/chakra/.beer b/homebrew/chakra/.beer
new file mode 100644
index 000000000..7a5a5e595
--- /dev/null
+++ b/homebrew/chakra/.beer
@@ -0,0 +1,36 @@
+{
+ "name": "Chakra",
+ "description": "The core part of the JavaScript engine that powers Microsoft Edge",
+ "url": "https://github.com/Microsoft/ChakraCore/archive/v1.11.7.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/Microsoft/ChakraCore",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "icu4c",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = [",
+ "\"--lto-thin\",",
+ "\"--icu=#{Formula[\"icu4c\"].opt_include}\",",
+ "\"--extra-defines=U_USING_ICU_NAMESPACE=1\", ",
+ "\"-j=#{ENV.make_jobs}\",",
+ "\"-y\",",
+ "]",
+ "system \"./build.sh\", *args",
+ "system \"./build.sh\", \"--static\", *args",
+ "bin.install \"out/Release/ch\" => \"chakra\"",
+ "include.install Dir[\"out/Release/include/*\"]",
+ "lib.install \"out/Release/libChakraCore.dylib\""
+ ],
+ "version": "1.11.7",
+ "file": "chakra.rb"
+} \ No newline at end of file