From ac131c6e9e9b08895efc8bbb30fc175d755a718b Mon Sep 17 00:00:00 2001 From: Vlad Shablinsky Date: Tue, 10 Mar 2015 20:49:24 +0300 Subject: yaml-cpp: fix https, sha256, remove require, fix system make install --- Library/Formula/yaml-cpp.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Library/Formula/yaml-cpp.rb') 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 -- cgit v1.2.3