homebrew-core/Formula/ngspice.rb
Severin Smith 6de6676db1 New Forumla for ngspice, a mixed mode/level circuit simulator
NGSpice, http://ngspice.sourceforge.net/, is a mixed mode - mixed level
circuit simulator based on berkley spice3f5.
It can be used to perform discreet circuit analysis and plot results.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-31 16:44:12 -07:00

19 lines
551 B
Ruby

require 'formula'
class Ngspice <Formula
url 'http://downloads.sourceforge.net/project/ngspice/ng-spice-rework/22/ngspice-22.tar.gz'
homepage 'http://ngspice.sourceforge.net/'
md5 'b55cdd80a56692fe6ce13f7a33c64d08'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-editline=yes",
"--enable-x"
system "make install"
end
def caveats
"Note: ngspice is an X11 application."
end
end