2009-12-23 21:52:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Virtuoso < Formula
|
2009-12-23 21:52:33 +00:00
|
|
|
homepage 'http://virtuoso.openlinksw.com/wiki/main/'
|
2012-11-04 17:12:19 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/virtuoso/virtuoso/6.1.6/virtuoso-opensource-6.1.6.tar.gz'
|
|
|
|
sha1 '03bc14b1627d16d76687f8b8659801966aab3fb4'
|
2009-12-23 21:52:33 +00:00
|
|
|
|
2012-10-25 17:02:14 +00:00
|
|
|
head 'https://github.com/openlink/virtuoso-opensource.git', :branch => 'develop/6'
|
|
|
|
|
2009-12-23 21:52:33 +00:00
|
|
|
# If gawk isn't found, make fails deep into the process.
|
2012-10-25 17:02:14 +00:00
|
|
|
depends_on 'gawk' => :build
|
|
|
|
|
|
|
|
if build.head?
|
|
|
|
depends_on :autoconf => :build
|
|
|
|
depends_on :automake => :build
|
|
|
|
depends_on :libtool => :build
|
|
|
|
end
|
2009-12-23 21:52:33 +00:00
|
|
|
|
2012-10-25 17:02:14 +00:00
|
|
|
skip_clean :la
|
2009-12-23 21:52:33 +00:00
|
|
|
|
|
|
|
def install
|
2011-03-18 17:30:47 +00:00
|
|
|
ENV.m64 if MacOS.prefer_64_bit?
|
2012-10-25 17:02:14 +00:00
|
|
|
system "./autogen.sh" if build.head?
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-12-23 21:52:33 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2010-04-07 05:58:35 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
NOTE: the Virtuoso server will start up several times on port 1111
|
|
|
|
during the install process.
|
|
|
|
EOS
|
|
|
|
end
|
2009-12-23 21:52:33 +00:00
|
|
|
end
|