diff options
| author | Christian Moritz | 2013-09-11 05:31:10 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-17 07:00:53 -0700 |
| commit | 09dd597277c67f633494a44fd1cc40284988d777 (patch) | |
| tree | 26310d5566de2eda53211e06b1cc2752ab092018 /Library | |
| parent | ed6deba66226d24c6b3130c919dcf098a21963e5 (diff) | |
| download | homebrew-09dd597277c67f633494a44fd1cc40284988d777.tar.bz2 | |
slimerjs 0.8.2
Closes #22459.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/slimerjs.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/slimerjs.rb b/Library/Formula/slimerjs.rb new file mode 100644 index 000000000..82da9d063 --- /dev/null +++ b/Library/Formula/slimerjs.rb @@ -0,0 +1,22 @@ +require 'formula' + +class Slimerjs < Formula + homepage 'http://www.slimerjs.org' + url 'http://download.slimerjs.org/v0.8/slimerjs-0.8.2.zip' + sha1 '18066ada8e3735f1a2722b104f13201c57136375' + + def install + # fixed uname on os x as in upstream: https://github.com/laurentj/slimerjs/commit/05abb14 + inreplace 'slimerjs', 'uname -o', 'uname -o 2>&1' + rm_rf 'slimerjs.bat' + libexec.install Dir['*'] + bin.install_symlink libexec/'slimerjs' + end + + def caveats; <<-EOS.undent + You should set the environment variable SLIMERJSLAUNCHER to a installation of Mozilla Firefox (or XULRunner). + For a standard Mozilla Firefox installation this would be: + export SLIMERJSLAUNCHER=/Applications/Firefox.app/Contents/MacOS/firefox + EOS + end +end |
