aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/verilator.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/verilator.rb b/Library/Formula/verilator.rb
new file mode 100644
index 000000000..66fbd4433
--- /dev/null
+++ b/Library/Formula/verilator.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Verilator < Formula
+ homepage 'http://www.veripool.org/wiki/verilator'
+ url 'http://www.veripool.org/ftp/verilator-3.833.tgz'
+ sha1 '4ca58d609371b0a6309c5564a5e8ba6857aa15db'
+
+ skip_clean 'bin' # Allows perl scripts to keep their executable flag
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end