yajl: fix https, remove require, fix system make install

This commit is contained in:
Vlad Shablinsky 2015-03-10 20:48:09 +03:00 committed by Brett Koonce
parent 0bda3ad3e7
commit b3546838d3

View file

@ -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