2011-09-30 09:31:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Monetdb < Formula
|
|
|
|
homepage 'http://www.monetdb.org/'
|
2013-01-03 21:59:35 +00:00
|
|
|
url 'http://dev.monetdb.org/downloads/sources/Oct2012-SP2/MonetDB-11.13.7.tar.bz2'
|
|
|
|
sha1 'dafe04735e4b546872cbd2a0c0830f66009f0dac'
|
2011-09-30 09:31:48 +00:00
|
|
|
|
|
|
|
head 'http://dev.monetdb.org/hg/MonetDB', :using => :hg
|
|
|
|
|
2012-08-30 22:16:47 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2011-09-30 09:31:48 +00:00
|
|
|
depends_on 'pcre'
|
2012-11-11 03:12:26 +00:00
|
|
|
depends_on 'readline' # Compilation fails with libedit.
|
2011-09-30 09:31:48 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-26 06:31:24 +00:00
|
|
|
system "./bootstrap" if build.head?
|
2011-09-30 09:31:48 +00:00
|
|
|
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--enable-debug=no",
|
|
|
|
"--enable-assert=no",
|
|
|
|
"--enable-optimize=yes",
|
2012-06-09 15:10:12 +00:00
|
|
|
"--enable-testing=no",
|
2012-08-16 19:09:37 +00:00
|
|
|
"--disable-jaql",
|
2012-06-09 15:10:12 +00:00
|
|
|
"--without-rubygem"
|
2011-09-30 09:31:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|