blob: 68cae567e0086ee7fe8fb7557ee7f67aec603229 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  | 
require 'formula'
class Virtuoso < Formula
  homepage 'http://virtuoso.openlinksw.com/wiki/main/'
  url 'http://downloads.sourceforge.net/project/virtuoso/virtuoso/6.1.6/virtuoso-opensource-6.1.6.tar.gz'
  sha1 '03bc14b1627d16d76687f8b8659801966aab3fb4'
  head 'https://github.com/openlink/virtuoso-opensource.git', :branch => 'develop/6'
  # If gawk isn't found, make fails deep into the process.
  depends_on 'gawk' => :build
  if build.head?
    depends_on :autoconf => :build
    depends_on :automake => :build
    depends_on :libtool  => :build
  end
  skip_clean :la
  def install
    ENV.m64 if MacOS.prefer_64_bit?
    system "./autogen.sh" if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
  def caveats; <<-EOS.undent
    NOTE: the Virtuoso server will start up several times on port 1111
    during the install process.
    EOS
  end
end
  |