libngspice 31
Closes #48420. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
42ed20ae2a
commit
0cfb5ffc2d
1 changed files with 13 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
||||||
class Libngspice < Formula
|
class Libngspice < Formula
|
||||||
desc "Spice circuit simulator as shared library"
|
desc "Spice circuit simulator as shared library"
|
||||||
homepage "https://ngspice.sourceforge.io/"
|
homepage "https://ngspice.sourceforge.io/"
|
||||||
url "https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/28/ngspice-28.tar.gz"
|
url "https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/31/ngspice-31.tar.gz"
|
||||||
sha256 "94804fa78c8db2f90f088902e8c27f7b732a66767a58c70f37612bff5a16df66"
|
sha256 "845f3b0c962e47ded051dfbc134c3c1e4ac925c9f0ce1cb3df64eb9b9da5c282"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
sha256 "62d5c4b9ee7a4126e7dfb18b3fd762c6d4b7325283702b58646d640a1c1773ec" => :mojave
|
sha256 "62d5c4b9ee7a4126e7dfb18b3fd762c6d4b7325283702b58646d640a1c1773ec" => :mojave
|
||||||
|
@ -23,9 +23,17 @@ class Libngspice < Formula
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./autogen.sh" if build.head?
|
system "./autogen.sh" if build.head?
|
||||||
system "./configure", "--prefix=#{prefix}", "--disable-debug",
|
|
||||||
"--disable-dependency-tracking", "--with-ngshared", "--enable-cider",
|
args = %W[
|
||||||
"--enable-xspice"
|
--disable-debug
|
||||||
|
--disable-dependency-tracking
|
||||||
|
--prefix=#{prefix}
|
||||||
|
--with-ngshared
|
||||||
|
--enable-cider
|
||||||
|
--enable-xspice
|
||||||
|
]
|
||||||
|
|
||||||
|
system "./configure", *args
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue