homebrew-core/Formula/couchdb.rb
Sean Wolfe 5fc51a6e1b Couchdb and dependency formulae
Signed-off-by: Max Howell <max@methylblue.com>

I squashed a number of commits here, and also replaced the use of nspr.prefix with HOMEBREW_PREFIX as in theory we are flexible with our requirement for dependencies, although with the limited build system that SpiderMonkey possesses this is difficult for us to achieve anyway…
2009-09-14 20:33:46 +01:00

19 lines
427 B
Ruby

require 'brewkit'
class Couchdb <Formula
@url='http://apache.multihomed.net/couchdb/0.9.1/apache-couchdb-0.9.1.tar.gz'
@homepage='http://couchdb.apache.org/'
@md5='9583efae5adfb3f9043e970fef825561'
def deps
LibraryDep.new 'spidermonkey'
LibraryDep.new 'icu4c'
BinaryDep.new 'erlang'
end
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end