2010-10-31 20:41:34 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ngspice < Formula
|
2012-02-05 06:59:19 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/ngspice/ng-spice-rework/24/ngspice-24.tar.gz'
|
2010-10-31 20:41:34 +00:00
|
|
|
homepage 'http://ngspice.sourceforge.net/'
|
2012-02-05 06:59:19 +00:00
|
|
|
md5 'e9ed7092da3e3005aebd892996b2bd5f'
|
2010-10-31 20:41:34 +00:00
|
|
|
|
|
|
|
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
|