aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/activemq-cpp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/activemq-cpp.rb')
-rw-r--r--Library/Formula/activemq-cpp.rb15
1 files changed, 11 insertions, 4 deletions
diff --git a/Library/Formula/activemq-cpp.rb b/Library/Formula/activemq-cpp.rb
index be230004d..d713386fb 100644
--- a/Library/Formula/activemq-cpp.rb
+++ b/Library/Formula/activemq-cpp.rb
@@ -1,13 +1,20 @@
require "formula"
class ActivemqCpp < Formula
- homepage "http://activemq.apache.org/cms/index.html"
- url "http://www.apache.org/dyn/closer.cgi?path=activemq/activemq-cpp/3.8.2/activemq-cpp-library-3.8.2-src.tar.bz2"
- sha1 "6fcaeb278f2d359343ccef4b5814f0092a4d7b54"
+ homepage "https://activemq.apache.org/cms/index.html"
+ url "http://www.apache.org/dyn/closer.cgi?path=activemq/activemq-cpp/3.8.3/activemq-cpp-library-3.8.3-src.tar.bz2"
+ sha1 "ea67d8b86a524ff57f2a2e0e2451deafacfd6d4b"
+
+ depends_on "pkg-config" => :build
+ depends_on "openssl"
def install
system "./configure", "--prefix=#{prefix}"
system "make"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/activemqcpp-config", "--version"
end
end