2011-08-28 05:06:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class AwsElasticache < AmazonWebServicesFormula
|
|
|
|
homepage 'http://aws.amazon.com/developertools/2310261897259567'
|
2012-12-14 18:01:32 +00:00
|
|
|
url 'https://s3.amazonaws.com/elasticache-downloads/AmazonElastiCacheCli-2012-08-01-1.7.000.zip'
|
|
|
|
version '1.7.000'
|
|
|
|
sha1 '5a46ab1e769b32f5de16f7b8d080865dd81750f9'
|
2011-08-28 05:06:28 +00:00
|
|
|
|
|
|
|
depends_on 'ec2-api-tools'
|
|
|
|
|
|
|
|
def install
|
2012-12-16 17:25:10 +00:00
|
|
|
rm Dir['bin/*.cmd'] # Remove Windows command files
|
|
|
|
libexec.install "bin", "lib"
|
|
|
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
|
|
|
(bin/'service').unlink # Don't keep this symlink
|
2011-08-28 05:06:28 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats
|
2012-12-16 17:25:10 +00:00
|
|
|
standard_instructions "AWS_ELASTICACHE_HOME", libexec
|
2011-08-28 05:06:28 +00:00
|
|
|
end
|
|
|
|
end
|