aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-03-17 08:56:57 -0700
committerAdam Vandenberg2013-03-17 08:56:57 -0700
commitcabb088f854de41da3464933969eb0f0ad2e43bc (patch)
tree5e471a3e7a58f4dc5ab664eb9665a93879e5df46 /Library
parentb041757cf331d65082355d8fa763d5f1c86fa4a9 (diff)
downloadhomebrew-cabb088f854de41da3464933969eb0f0ad2e43bc.tar.bz2
yajl: use archive download
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/yajl.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/yajl.rb b/Library/Formula/yajl.rb
index d1299ffa0..95a00f7d7 100644
--- a/Library/Formula/yajl.rb
+++ b/Library/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