diff options
| author | Severin Smith | 2010-10-31 16:41:34 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2010-10-31 16:44:12 -0700 |
| commit | d83a3a3d239ba0d30c9163847911cd315046cd78 (patch) | |
| tree | 51d59bace118bfd7d36cb0539abf23ae9fa01aa3 /Library | |
| parent | fdf609438918ab19b4d2df88ed7a3112b1f82ae3 (diff) | |
| download | homebrew-d83a3a3d239ba0d30c9163847911cd315046cd78.tar.bz2 | |
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>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ngspice.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/ngspice.rb b/Library/Formula/ngspice.rb new file mode 100644 index 000000000..8ed073e14 --- /dev/null +++ b/Library/Formula/ngspice.rb @@ -0,0 +1,19 @@ +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 |
