homebrew-core/Formula/virtuoso.rb
Adam Vandenberg 576185d345 Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-22 20:11:03 -07:00

24 lines
654 B
Ruby

require 'formula'
class Virtuoso <Formula
url 'http://downloads.sourceforge.net/project/virtuoso/virtuoso/6.1.1/virtuoso-opensource-6.1.1.tar.gz'
homepage 'http://virtuoso.openlinksw.com/wiki/main/'
md5 '0695bffacf78e53733c27e96c9d7f9e7'
# If gawk isn't found, make fails deep into the process.
depends_on 'gawk'
skip_clean :all
def install
ENV.m64 if snow_leopard_64?
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