aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBen Olive2009-11-11 13:09:31 -0500
committerMax Howell2009-11-11 18:58:36 +0000
commite835f1012a3bddbdfaa7f47b33b428567fbe7be2 (patch)
tree4b96859a20a36e5bb7bd377acdd065642e062dad /Library/Formula
parent1912cbb85f8cd2cb5f747cf6331b12de54b725dd (diff)
downloadhomebrew-e835f1012a3bddbdfaa7f47b33b428567fbe7be2.tar.bz2
Groovy formula
Groovy is an agile dynamic language for the Java Platform.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/groovy.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/groovy.rb b/Library/Formula/groovy.rb
new file mode 100644
index 000000000..e590d0099
--- /dev/null
+++ b/Library/Formula/groovy.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Groovy <Formula
+ @url='http://dist.groovy.codehaus.org/distributions/groovy-binary-1.6.5.zip'
+ @homepage='http://groovy.codehaus.org/'
+ @version='1.6.5'
+ @sha256='db3d4c08ad76392ae94eba830e8c9072fda9e5774c9e7d220c90d0f91a5d7aaf'
+
+ def install
+ prefix.install %w[bin conf lib]
+ FileUtils.rm_f Dir["#{bin}/*.bat"]
+ end
+end