diff options
| author | Max Howell | 2009-05-21 17:40:10 +0100 |
|---|---|---|
| committer | Max Howell | 2009-05-21 17:40:10 +0100 |
| commit | 25f9cfc01fdb193ce25cad623d51bf59c19d8eec (patch) | |
| tree | 3a7dbf0fb5bfe35086a245b9b375b7b3555e90f1 /Formula | |
| parent | ee385a2ca9e22b5d4d089f95b492b0b90c71a8e3 (diff) | |
| download | brew-25f9cfc01fdb193ce25cad623d51bf59c19d8eec.tar.bz2 | |
yajl-1.0.5 formula
Diffstat (limited to 'Formula')
| -rw-r--r-- | Formula/yajl.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Formula/yajl.rb b/Formula/yajl.rb new file mode 100644 index 000000000..a4784d715 --- /dev/null +++ b/Formula/yajl.rb @@ -0,0 +1,16 @@ +$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks +require 'brewkit' + +homepage='http://lloyd.github.com/yajl/' +url='http://github.com/lloyd/yajl/tarball/1.0.5' +md5='f4a3cbc764c43231ed1aedc54438b69b' + +deps=['cmake'] + +Formula.new(url, md5).brew do |prefix| + + inreplace 'configure', 'cmake \.\.', "cmake -DCMAKE_INSTALL_PREFIX='#{prefix}' \.\." + + system "./configure --prefix '#{prefix}'" + system "make install" +end
\ No newline at end of file |
