homebrew-core/Formula/activemq.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

18 lines
504 B
Ruby

require 'formula'
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