2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
class Yajl <Formula
|
2009-11-21 23:34:34 +00:00
|
|
|
homepage 'http://lloyd.github.com/yajl/'
|
2009-12-23 19:28:10 +00:00
|
|
|
url 'http://cloud.github.com/downloads/lloyd/yajl/yajl-1.0.8.tar.gz'
|
|
|
|
md5 '26116d41b6466f6b4da7d9e8450f2200'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
2009-11-21 23:34:34 +00:00
|
|
|
# Configure uses cmake, even though it looks like we're
|
|
|
|
# just using autotools below.
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'cmake'
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
def install
|
2009-08-07 14:41:43 +00:00
|
|
|
ENV.deparallelize
|
2009-06-04 18:21:19 +00:00
|
|
|
|
|
|
|
system "./configure --prefix '#{prefix}'"
|
|
|
|
system "make install"
|
|
|
|
end
|
2009-12-23 19:28:10 +00:00
|
|
|
end
|