homebrew-core/Formula/yajl.rb

20 lines
503 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Yajl < Formula
2009-11-21 23:34:34 +00:00
homepage 'http://lloyd.github.com/yajl/'
url 'http://github.com/lloyd/yajl/tarball/2.0.2'
sha256 '4917049b7700e289d38e0ac82f63b7182a5dfc6cf21c5eb9a26d70b6d2e7b68b'
2009-11-21 23:34:34 +00:00
# Configure uses cmake, even though it looks like we're
# just using autotools below.
depends_on 'cmake' => :build
def install
ENV.deparallelize
system "./configure", "--prefix=#{prefix}"
system "make install"
(include + 'yajl').install Dir['src/api/*.h']
end
end