2011-09-30 09:31:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Monetdb < Formula
|
|
|
|
homepage 'http://www.monetdb.org/'
|
2012-10-04 20:05:09 +00:00
|
|
|
url 'http://dev.monetdb.org/downloads/sources/Jul2012-SP2/MonetDB-11.11.11.tar.bz2'
|
|
|
|
sha1 'ee053afcfcb2551856f78076eabfb250535d397f'
|
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-06-09 15:10:12 +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
|