aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-08-15 12:23:22 +0100
committerMike McQuaid2014-08-15 12:23:22 +0100
commitcc18ca268ab2b8b0d5367b5a1db09efc84b06a55 (patch)
tree2b6a719f2e44d6c3dced26a4f61f039cfc53ebbf /Library
parentec32342a09b05c198c6b11bd9f5152133cd549aa (diff)
downloadhomebrew-cc18ca268ab2b8b0d5367b5a1db09efc84b06a55.tar.bz2
rabbitmq-c: general cleanup.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rabbitmq-c.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Formula/rabbitmq-c.rb b/Library/Formula/rabbitmq-c.rb
index 2cbb65714..37453ca2f 100644
--- a/Library/Formula/rabbitmq-c.rb
+++ b/Library/Formula/rabbitmq-c.rb
@@ -25,12 +25,17 @@ class RabbitmqC < Formula
def install
ENV.universal_binary if build.universal?
args = std_cmake_args
- args << "-DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_API_DOCS=OFF"
+ args << "-DBUILD_EXAMPLES=OFF"
+ args << "-DBUILD_TESTS=OFF"
+ args << "-DBUILD_API_DOCS=OFF"
- args << "-DBUILD_TOOLS=ON" if build.with? "tools"
- args << "-DBUILD_TOOLS=OFF" if build.without? "tools"
+ args << if build.with? "tools"
+ "-DBUILD_TOOLS=ON"
+ else
+ "-DBUILD_TOOLS=OFF"
+ end
system "cmake", ".", *args
- system "make install"
+ system "make", "install"
end
end