diff options
| author | Mike McQuaid | 2014-08-15 12:23:22 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-15 12:23:22 +0100 |
| commit | cc18ca268ab2b8b0d5367b5a1db09efc84b06a55 (patch) | |
| tree | 2b6a719f2e44d6c3dced26a4f61f039cfc53ebbf /Library/Formula | |
| parent | ec32342a09b05c198c6b11bd9f5152133cd549aa (diff) | |
| download | homebrew-cc18ca268ab2b8b0d5367b5a1db09efc84b06a55.tar.bz2 | |
rabbitmq-c: general cleanup.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rabbitmq-c.rb | 13 |
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 |
