homebrew-core/Formula/yajl.rb

19 lines
454 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Yajl < Formula
2013-04-07 02:34:41 +00:00
homepage 'http://lloyd.github.io/yajl/'
2013-03-17 15:56:57 +00:00
url 'https://github.com/lloyd/yajl/archive/2.0.4.tar.gz'
sha256 '0e78f516dc53ecce7dc073f9a9bb0343186b58ef29dcd1dad74e5e853b216dd5'
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"
2013-03-17 15:56:57 +00:00
(include/'yajl').install Dir['src/api/*.h']
end
end