homebrew-core/Formula/yajl.rb
2013-03-02 09:18:43 +00:00

18 lines
450 B
Ruby

require 'formula'
class Yajl < Formula
homepage 'http://lloyd.github.com/yajl/'
url 'https://github.com/lloyd/yajl/tarball/2.0.4'
sha256 'c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118'
# Configure uses cmake internally
depends_on 'cmake' => :build
def install
ENV.deparallelize
system "./configure", "--prefix=#{prefix}"
system "make install"
(include + 'yajl').install Dir['src/api/*.h']
end
end