aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hale2010-07-08 13:37:32 -0400
committerAdam Vandenberg2010-07-16 08:54:18 -0700
commit418902f7beabf6cf724c9e84cf5294aed5fc376e (patch)
treeafa0f5596933e2a74b946dfd5a4c310c4b417251
parentecd7c304bb759c22f54f20bb5e3797ae6de3c01c (diff)
downloadhomebrew-418902f7beabf6cf724c9e84cf5294aed5fc376e.tar.bz2
amazon web services cloudwatch formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/cloud-watch.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/cloud-watch.rb b/Library/Formula/cloud-watch.rb
new file mode 100644
index 000000000..fa4857ddf
--- /dev/null
+++ b/Library/Formula/cloud-watch.rb
@@ -0,0 +1,24 @@
+require 'formula'
+
+# Require ec2-api-tools to get the base class
+require "#{File.dirname __FILE__}/ec2-api-tools.rb"
+
+class CloudWatch <AmazonWebServicesFormula
+ version '1.0.2.3'
+ homepage 'http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2534&categoryID=251'
+ url 'http://ec2-downloads.s3.amazonaws.com/CloudWatch-2009-05-15.zip'
+ md5 '25cd175dca3e5fb51d970a2beb040dd4'
+ aka 'aws-mon'
+
+ def install
+ standard_install
+ end
+
+ def caveats
+ s = standard_instructions "AWS_CLOUDWATCH_HOME"
+ s += <<-EOS.undent
+ export SERVICE_HOME="$AWS_CLOUDWATCH_HOME"
+ EOS
+ return s
+ end
+end \ No newline at end of file