f2e951bdee
Closes Homebrew/homebrew#9983. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
19 lines
552 B
Ruby
19 lines
552 B
Ruby
require 'formula'
|
|
|
|
class Ngspice < Formula
|
|
url 'http://downloads.sourceforge.net/project/ngspice/ng-spice-rework/24/ngspice-24.tar.gz'
|
|
homepage 'http://ngspice.sourceforge.net/'
|
|
md5 'e9ed7092da3e3005aebd892996b2bd5f'
|
|
|
|
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
|