aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAugust Lilleaas2009-09-30 10:40:47 +0200
committerMax Howell2009-09-30 17:23:38 +0100
commit639d08f56db179bafd950d8abe9545ac7bca6c29 (patch)
treec4e9295e5b31fed9b8926990c5ba8b8180c0388f /Library/Formula
parentef38aba714011d9ab23bb04658b46b1af5418fc3 (diff)
downloadhomebrew-639d08f56db179bafd950d8abe9545ac7bca6c29.tar.bz2
Apache ActiveMQ formula
Apache ActiveMQ is the most popular and powerful open source messaging and Integration Patterns provider.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/activemq.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/activemq.rb b/Library/Formula/activemq.rb
new file mode 100644
index 000000000..cee32dd27
--- /dev/null
+++ b/Library/Formula/activemq.rb
@@ -0,0 +1,18 @@
+require 'brewkit'
+
+class Activemq <Formula
+ @url='http://www.apache.org/dist/activemq/apache-activemq/5.2.0/apache-activemq-5.2.0-bin.tar.gz'
+ @homepage='http://activemq.apache.org/'
+ @md5='f11ca54e89689a0570dd607528966ba5'
+
+ def install
+ prefix.install Dir['*']
+
+ # this tar comes with linux binaries as well, so lets make macosx the default
+ macosx = bin+'macosx'
+ bin.install macosx.children
+ (bin+'linux-x86-64').rmtree
+ (bin+'linux-x86-32').rmtree
+ macosx.rmdir
+ end
+end