RabbitMQ 2.5.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
83e6466c5f
commit
8aa17b6df3
1 changed files with 6 additions and 27 deletions
|
@ -2,23 +2,17 @@ require 'formula'
|
|||
|
||||
class Rabbitmq < Formula
|
||||
homepage 'http://rabbitmq.com'
|
||||
url 'http://www.rabbitmq.com/releases/rabbitmq-server/v2.4.1/rabbitmq-server-2.4.1.tar.gz'
|
||||
md5 '6db31b4353bd44f8ae9b6756b0a831e6'
|
||||
|
||||
url 'http://www.rabbitmq.com/releases/rabbitmq-server/v2.5.0/rabbitmq-server-2.5.0.tar.gz'
|
||||
md5 'b665ba003ab3f811b3053082fd006fa8'
|
||||
|
||||
depends_on 'erlang'
|
||||
depends_on 'simplejson' => :python if MacOS.leopard?
|
||||
|
||||
def patches
|
||||
# (1) Can't build manpages without a lot of other junk, so disable
|
||||
# (2) Patch to build against Erlang R14B03 - http://old.nabble.com/RabbitMQ-and-Erlang-R14B03-td31699881.html
|
||||
# Can be removed in next stable release.
|
||||
[
|
||||
DATA,
|
||||
"https://github.com/rabbitmq/rabbitmq-server/commit/3ab92151948c0c546cbefe5902efbd92acd14280.patch"
|
||||
]
|
||||
end
|
||||
|
||||
def install
|
||||
# Building the manual requires additional software, so skip it.
|
||||
inreplace "Makefile", "install: install_bin install_docs", "install: install_bin"
|
||||
|
||||
target_dir = "#{lib}/rabbitmq/erlang/lib/rabbitmq-#{version}"
|
||||
system "make"
|
||||
ENV['TARGET_DIR'] = target_dir
|
||||
|
@ -88,18 +82,3 @@ class Rabbitmq < Formula
|
|||
EOPLIST
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
diff --git a/Makefile b/Makefile
|
||||
index d3f052f..98ce763 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -267,7 +267,7 @@ $(SOURCE_DIR)/%_usage.erl:
|
||||
|
||||
docs_all: $(MANPAGES) $(WEB_MANPAGES)
|
||||
|
||||
-install: install_bin install_docs
|
||||
+install: install_bin
|
||||
|
||||
install_bin: all install_dirs
|
||||
cp -r ebin include LICENSE LICENSE-MPL-RabbitMQ INSTALL $(TARGET_DIR)
|
||||
|
|
Loading…
Reference in a new issue