From 0ec6597521bf62c09a824406bedad98f493c1e0b Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 17 Mar 2013 08:56:57 -0700 Subject: [PATCH] yajl: use archive download --- Formula/yajl.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/yajl.rb b/Formula/yajl.rb index d1299ffa04..95a00f7d76 100644 --- a/Formula/yajl.rb +++ b/Formula/yajl.rb @@ -2,8 +2,8 @@ require 'formula' class Yajl < Formula homepage 'http://lloyd.github.com/yajl/' - url 'https://github.com/lloyd/yajl/tarball/2.0.4' - sha256 'c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118' + url 'https://github.com/lloyd/yajl/archive/2.0.4.tar.gz' + sha256 '0e78f516dc53ecce7dc073f9a9bb0343186b58ef29dcd1dad74e5e853b216dd5' # Configure uses cmake internally depends_on 'cmake' => :build @@ -13,6 +13,6 @@ class Yajl < Formula system "./configure", "--prefix=#{prefix}" system "make install" - (include + 'yajl').install Dir['src/api/*.h'] + (include/'yajl').install Dir['src/api/*.h'] end end