mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
yajl-1.0.5 formula
This commit is contained in:
parent
ee385a2ca9
commit
25f9cfc01f
16
Formula/yajl.rb
Normal file
16
Formula/yajl.rb
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user