homebrew-core/Formula/yajl.rb

19 lines
449 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.4'
sha256 'c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118'
2012-02-10 03:02:36 +00:00
# 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