Remove stable block
Split long lines Signed-off-by: Artur Troian <troian.ap@gmail.com> Closes #5146. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
1a94bda244
commit
a76a6a584a
1 changed files with 4 additions and 6 deletions
|
@ -1,13 +1,10 @@
|
|||
class AmqpCpp < Formula
|
||||
desc "C++ library for communicating with a RabbitMQ message broker"
|
||||
homepage "https://github.com/CopernicaMarketingSoftware/AMQP-CPP"
|
||||
url "https://github.com/CopernicaMarketingSoftware/AMQP-CPP/archive/v2.6.2.tar.gz"
|
||||
sha256 "1a60d900a8e32b55b39229f2ea00070156b99c0a1336450d531038e6241a4d8b"
|
||||
head "https://github.com/CopernicaMarketingSoftware/AMQP-CPP.git"
|
||||
|
||||
stable do
|
||||
url "https://github.com/CopernicaMarketingSoftware/AMQP-CPP/archive/v2.6.2.tar.gz"
|
||||
sha256 "1a60d900a8e32b55b39229f2ea00070156b99c0a1336450d531038e6241a4d8b"
|
||||
end
|
||||
|
||||
needs :cxx11
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
@ -27,7 +24,8 @@ class AmqpCpp < Formula
|
|||
return 0;
|
||||
}
|
||||
EOS
|
||||
system ENV.cxx, "test.cpp", "-std=c++11", "-L#{lib}", "-o", "test", "-lc++", "-lamqp-cpp"
|
||||
system ENV.cxx, "test.cpp", "-std=c++11", "-L#{lib}", "-o",
|
||||
"test", "-lc++", "-lamqp-cpp"
|
||||
system "./test"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue