homebrew-core/Formula/monetdb.rb
Gijs Molenaar d766d82f4b monetdb depends on pkg-config
Closes Homebrew/homebrew#14578.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-30 22:13:33 -07:00

26 lines
810 B
Ruby

require 'formula'
class Monetdb < Formula
homepage 'http://www.monetdb.org/'
url 'http://dev.monetdb.org/downloads/sources/Jul2012/MonetDB-11.11.5.tar.bz2'
sha1 'f0961abd7f6c467deb4cc540dbfe304f50944ba3'
head 'http://dev.monetdb.org/hg/MonetDB', :using => :hg
depends_on 'pkg-config' => :build
depends_on 'pcre'
depends_on 'readline' # Compilation fails with libedit.
def install
system "./bootstrap" if build.head?
system "./configure", "--prefix=#{prefix}",
"--enable-debug=no",
"--enable-assert=no",
"--enable-optimize=yes",
"--enable-testing=no",
"--disable-jaql",
"--without-rubygem"
system "make install"
end
end