homebrew-core/Formula/yajl.rb

20 lines
455 B
Ruby
Raw Normal View History

require 'formula'
class Yajl <Formula
@homepage='http://lloyd.github.com/yajl/'
2009-10-18 18:55:20 +00:00
@url='http://github.com/lloyd/yajl/tarball/1.0.6'
@md5='bb201150143352b117be702a1bc78405'
depends_on 'cmake'
def install
ENV.deparallelize
# I have pushed this fix upstream
2009-09-02 13:32:28 +00:00
inreplace 'configure', 'cmake ..', "cmake #{std_cmake_parameters} .." if @version == "1.0.5"
system "./configure --prefix '#{prefix}'"
system "make install"
end
end