aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorVlad Shablinsky2015-03-10 20:48:09 +0300
committerBrett Koonce2015-03-11 23:57:32 -0700
commit0542f83a2f9af73c5faa8c9990458be75d027f7b (patch)
tree6b091a1ade7f9472d85cabcaa50d06051744d8f6 /Library
parent4c112ef45a235f6365cde6b3dd7be773103ebaad (diff)
downloadhomebrew-0542f83a2f9af73c5faa8c9990458be75d027f7b.tar.bz2
yajl: fix https, remove require, fix system make install
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/yajl.rb14
1 files changed, 6 insertions, 8 deletions
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