diff options
| author | Johnathan Conley | 2014-10-21 11:21:13 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-21 17:41:48 +0100 |
| commit | ce33f6f0becd1e80915f4931574d77163a995445 (patch) | |
| tree | 0a8fb8a82a5a29d7208c7e187e50f2ff1772781a /Library/Formula | |
| parent | b10019428ce81b7d773a6f12730c485f60e60b32 (diff) | |
| download | homebrew-ce33f6f0becd1e80915f4931574d77163a995445.tar.bz2 | |
libcapn 1.0.0
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libcapn.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/libcapn.rb b/Library/Formula/libcapn.rb index 217d3ffe1..04d0e3ef9 100644 --- a/Library/Formula/libcapn.rb +++ b/Library/Formula/libcapn.rb @@ -2,8 +2,8 @@ require 'formula' class Libcapn < Formula homepage 'http://libcapn.org/' - url 'http://libcapn.org/download/libcapn-1.0.0b3-src.tar.gz' - sha1 'a53f7b382e683249ff55214b1effbae5f82c4ef2' + url "http://libcapn.org/download/libcapn-1.0.0-src.tar.gz" + sha1 "740dc87395fc7255b78c3c926a044f00692e8c41" head 'https://github.com/adobkin/libcapn.git' bottle do @@ -16,10 +16,12 @@ class Libcapn < Formula depends_on 'cmake' => :build depends_on 'pkg-config' => :build + depends_on "openssl" def install - inreplace 'CMakeLists.txt', /usr\/lib\/pkgconfig/, "#{lib}/pkgconfig" unless build.head? - system "cmake", ".", *std_cmake_args + cmake_args = std_cmake_args + cmake_args << "-DOPENSSL_ROOT_DIR=#{Formula["openssl"].opt_prefix}" + system "cmake", ".", *cmake_args system "make", "install" end |
