aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ngspice.rb
blob: e2f2af2fdd789b3c2625bd5e22924fedb3328bf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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