Skip to content
This repository
Newer
Older
100644 56 lines (44 sloc) 1.57 kb
a82e8239 »
2009-10-15 s/require 'brewkit'/require 'formula'/g
1 require 'formula'
f81021f1 »
2009-09-01 RabbitMQ formula
2
0476235c »
2011-03-09 Use ruby style for inheritance.
3 class Rabbitmq < Formula
5cd45555 »
2009-10-02 Fix rabbitmq formula
4 homepage 'http://rabbitmq.com'
8dfda923 »
2011-02-03 Updated RabbitMQ to 2.3.1
5 url 'http://www.rabbitmq.com/releases/rabbitmq-server/v2.3.1/rabbitmq-server-2.3.1.tar.gz'
6 md5 'ebd57fe2286a4e4e9ce0e3bf88134fe0'
f81021f1 »
2009-09-01 RabbitMQ formula
7
8 depends_on 'erlang'
bbddc7dd »
2010-01-13 Adds: depends_on 'simplejson' => :python
9 depends_on 'simplejson' => :python if MACOS_VERSION < 10.6
f81021f1 »
2009-09-01 RabbitMQ formula
10
f7cb23aa »
2010-06-29 update rabbitmq to 1.8.0.
11 def patches
127b3c54 »
2010-09-07 rabbitmq 2.0.0
12 # Can't build manpages without a lot of other junk, so disable
f7cb23aa »
2010-06-29 update rabbitmq to 1.8.0.
13 DATA
14 end
15
f81021f1 »
2009-09-01 RabbitMQ formula
16 def install
a3a65f55 »
2010-02-17 update rabbitmq to 1.7.2
17 target_dir = "#{lib}/rabbitmq/erlang/lib/rabbitmq-#{version}"
f81021f1 »
2009-09-01 RabbitMQ formula
18 system "make"
2ce58bc5 »
2009-11-11 Fixed rabbitmq formula
19 ENV['TARGET_DIR'] = target_dir
20 ENV['MAN_DIR'] = man
21 ENV['SBIN_DIR'] = sbin
22 system "make install"
5cd45555 »
2009-10-02 Fix rabbitmq formula
23
127b3c54 »
2010-09-07 rabbitmq 2.0.0
24 (etc+'rabbitmq').mkpath
25 (var+'lib/rabbitmq').mkpath
26 (var+'log/rabbitmq').mkpath
5cd45555 »
2009-10-02 Fix rabbitmq formula
27
febf611c »
2009-10-17 Fix rabbitmq 1.7.0 startup
28 %w{rabbitmq-server rabbitmq-multi rabbitmqctl rabbitmq-env}.each do |script|
b6d36bba »
2010-09-08 brew-audit - check inreplace block var name
29 inreplace sbin+script do |s|
30 s.gsub! '/etc/rabbitmq', "#{etc}/rabbitmq"
31 s.gsub! '/var/lib/rabbitmq', "#{var}/lib/rabbitmq"
32 s.gsub! '/var/log/rabbitmq', "#{var}/log/rabbitmq"
99acd7f4 »
2010-01-13 Use new inreplace syntax where useful
33 end
febf611c »
2009-10-17 Fix rabbitmq 1.7.0 startup
34 end
35
99acd7f4 »
2010-01-13 Use new inreplace syntax where useful
36 # RabbitMQ Erlang binaries are installed in lib/rabbitmq/erlang/lib/rabbitmq-x.y.z/ebin
37 # therefore need to add this path for erl -pa
1f5f6314 »
2010-09-07 brew-audit - catch more interpolation style issues
38 inreplace sbin+'rabbitmq-env', '${SCRIPT_DIR}/..', target_dir
f81021f1 »
2009-09-01 RabbitMQ formula
39 end
40 end
f7cb23aa »
2010-06-29 update rabbitmq to 1.8.0.
41
42 __END__
43 diff --git a/Makefile b/Makefile
f948d918 »
2010-11-30 updated formula for rabbitmq 2.2.0
44 index d3f052f..98ce763 100644
f7cb23aa »
2010-06-29 update rabbitmq to 1.8.0.
45 --- a/Makefile
46 +++ b/Makefile
f948d918 »
2010-11-30 updated formula for rabbitmq 2.2.0
47 @@ -267,7 +267,7 @@ $(SOURCE_DIR)/%_usage.erl:
127b3c54 »
2010-09-07 rabbitmq 2.0.0
48
f7cb23aa »
2010-06-29 update rabbitmq to 1.8.0.
49 docs_all: $(MANPAGES) $(WEB_MANPAGES)
127b3c54 »
2010-09-07 rabbitmq 2.0.0
50
f948d918 »
2010-11-30 updated formula for rabbitmq 2.2.0
51 -install: install_bin install_docs
52 +install: install_bin
127b3c54 »
2010-09-07 rabbitmq 2.0.0
53
f948d918 »
2010-11-30 updated formula for rabbitmq 2.2.0
54 install_bin: all install_dirs
55 cp -r ebin include LICENSE LICENSE-MPL-RabbitMQ INSTALL $(TARGET_DIR)
Something went wrong with that request. Please try again.