homebrew-core/Formula/verilator.rb
David Holm a61e6aa575 verilator 3.855
Closes Homebrew/homebrew#27108.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-04 20:25:04 -08:00

19 lines
587 B
Ruby

require 'formula'
class Verilator < Formula
homepage 'http://www.veripool.org/wiki/verilator'
url 'http://www.veripool.org/ftp/verilator-3.855.tgz'
sha1 '2c37c48cdcb10674b5c9583a0d2b4f241dbb6dc4'
skip_clean 'bin' # Allows perl scripts to keep their executable flag
# Needs a newer flex on Lion (and presumably below)
# http://www.veripool.org/issues/720-Verilator-verilator-not-building-on-Mac-OS-X-Lion-10-7-
depends_on "flex" if MacOS.version <= :lion
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end