diff options
| author | Drew Stephens | 2012-06-18 16:25:42 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-20 07:28:50 -0700 |
| commit | 38bfee5d7c7c4a5eb2651211d2735708309d45e4 (patch) | |
| tree | f712530be3f44d3b36381aeee99ed7a622d45a6c /Library/Formula | |
| parent | 48ecc8b25d9724a02d621cbb4e990484dcd3af26 (diff) | |
| download | homebrew-38bfee5d7c7c4a5eb2651211d2735708309d45e4.tar.bz2 | |
Apache Whirr 0.7.1
Closes #12924.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/whirr.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/whirr.rb b/Library/Formula/whirr.rb new file mode 100644 index 000000000..9f5301bdc --- /dev/null +++ b/Library/Formula/whirr.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Whirr < Formula + homepage 'http://whirr.apache.org/' + url 'http://www.apache.org/dyn/closer.cgi?path=whirr/whirr-0.7.1/whirr-0.7.1.tar.gz' + sha1 '15772fd7bf35cbc1c50023f4a22bcbb1cd1f80c9' + + def shim_script target + <<-EOS.undent + #!/bin/bash + exec "#{libexec}/bin/#{target}" "$@" + EOS + end + + def install + libexec.install %w[bin conf lib] + # Leave "examples" script in libexec + (bin/'whirr').write shim_script('whirr') + end +end |
