diff options
| author | Stefhen Hovland | 2012-04-17 23:31:28 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-07-29 10:49:40 -0700 |
| commit | b0390e1a71c6595074efaa99e61e3956a3706165 (patch) | |
| tree | 775ec4b46f05a0a3ad2a1bcb5bac73719c70727b /Library | |
| parent | f3cf3623322b95ec60ea537c0ddcc5461c5a6062 (diff) | |
| download | homebrew-b0390e1a71c6595074efaa99e61e3956a3706165.tar.bz2 | |
aws-cloudsearch 1.0.0.1-2012.03.05
Closes #11722.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/aws-cloudsearch.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/aws-cloudsearch.rb b/Library/Formula/aws-cloudsearch.rb new file mode 100644 index 000000000..e3940fb41 --- /dev/null +++ b/Library/Formula/aws-cloudsearch.rb @@ -0,0 +1,21 @@ +require 'formula' + +class AwsCloudsearch < Formula + homepage 'http://aws.amazon.com/developertools/9054800585729911' + url 'http://s3.amazonaws.com/amazon-cloudsearch-data/cloud-search-tools-1.0.0.1-2012.03.05.tar.gz' + version '1.0.0.1-2012.03.05' + sha1 'd0801bd19ba8f29e40e6bd04af53c8cf03758a0c' + + def install + inreplace 'bin/cs-cmd', 'LIBDIR="${CS_HOME}/lib"', 'LIBDIR="${CS_HOME}/jars/lib"' + (prefix+'jars').install 'lib' + prefix.install %w{bin conf help third-party} + end + + def caveats; <<-EOS.undent + Add these to your shell profile: + export JAVA_HOME="$(/usr/libexec/java_home)" + export CS_HOME=#{prefix} + EOS + end +end |
