homebrew-core/Formula/yajl.rb
Jason Sallis 900d1552cc yajl 2.0.4
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-02 21:16:57 -06:00

19 lines
503 B
Ruby

require 'formula'
class Yajl < Formula
homepage 'http://lloyd.github.com/yajl/'
url 'http://github.com/lloyd/yajl/tarball/2.0.4'
sha256 'c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118'
# 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