diff options
| author | Vlad Shablinsky | 2015-03-10 20:49:24 +0300 |
|---|---|---|
| committer | Brett Koonce | 2015-03-11 23:58:18 -0700 |
| commit | ac131c6e9e9b08895efc8bbb30fc175d755a718b (patch) | |
| tree | 5224573ccf749ca011a1263585bfc387e95df7f7 /Library | |
| parent | 22b42d76d235b9d293d3f7b1c0141816aec58a8e (diff) | |
| download | homebrew-ac131c6e9e9b08895efc8bbb30fc175d755a718b.tar.bz2 | |
yaml-cpp: fix https, sha256, remove require, fix system make install
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/yaml-cpp.rb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/yaml-cpp.rb b/Library/Formula/yaml-cpp.rb index 69a82df6d..a0416ea26 100644 --- a/Library/Formula/yaml-cpp.rb +++ b/Library/Formula/yaml-cpp.rb @@ -1,9 +1,7 @@ -require 'formula' - class YamlCpp < Formula - homepage 'http://code.google.com/p/yaml-cpp/' - url 'https://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.1.tar.gz' - sha1 '9c5414b4090491e96d1b808fe8628b31e625fdaa' + homepage "https://code.google.com/p/yaml-cpp/" + url "https://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.1.tar.gz" + sha256 "3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06" bottle do cellar :any @@ -16,12 +14,12 @@ class YamlCpp < Formula option :universal option "with-static-lib", "Build a static library" - depends_on 'cmake' => :build + depends_on "cmake" => :build if build.cxx11? - depends_on 'boost' => 'c++11' + depends_on "boost" => "c++11" else - depends_on 'boost' + depends_on "boost" end def install @@ -35,6 +33,6 @@ class YamlCpp < Formula end system "cmake", ".", *args - system "make install" + system "make", "install" end end |
