From 0542f83a2f9af73c5faa8c9990458be75d027f7b Mon Sep 17 00:00:00 2001 From: Vlad Shablinsky Date: Tue, 10 Mar 2015 20:48:09 +0300 Subject: yajl: fix https, remove require, fix system make install --- Library/Formula/yajl.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/yajl.rb b/Library/Formula/yajl.rb index 2f7726269..ab5a50885 100644 --- a/Library/Formula/yajl.rb +++ b/Library/Formula/yajl.rb @@ -1,9 +1,7 @@ -require 'formula' - class Yajl < Formula - homepage 'http://lloyd.github.io/yajl/' - url 'https://github.com/lloyd/yajl/archive/2.1.0.tar.gz' - sha256 '3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a' + homepage "https://lloyd.github.io/yajl/" + url "https://github.com/lloyd/yajl/archive/2.1.0.tar.gz" + sha256 "3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a" bottle do cellar :any @@ -14,14 +12,14 @@ class Yajl < Formula end # Configure uses cmake internally - depends_on 'cmake' => :build + depends_on "cmake" => :build def install ENV.deparallelize system "cmake", ".", *std_cmake_args - system "make install" - (include/'yajl').install Dir['src/api/*.h'] + system "make", "install" + (include/"yajl").install Dir["src/api/*.h"] end test do -- cgit v1.2.3