diff --git a/Formula/libngspice.rb b/Formula/libngspice.rb index efeb3be36b..9bf5f1781f 100644 --- a/Formula/libngspice.rb +++ b/Formula/libngspice.rb @@ -1,8 +1,8 @@ class Libngspice < Formula desc "Spice circuit simulator as shared library" homepage "https://ngspice.sourceforge.io/" - url "https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/28/ngspice-28.tar.gz" - sha256 "94804fa78c8db2f90f088902e8c27f7b732a66767a58c70f37612bff5a16df66" + url "https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/31/ngspice-31.tar.gz" + sha256 "845f3b0c962e47ded051dfbc134c3c1e4ac925c9f0ce1cb3df64eb9b9da5c282" bottle do sha256 "62d5c4b9ee7a4126e7dfb18b3fd762c6d4b7325283702b58646d640a1c1773ec" => :mojave @@ -23,9 +23,17 @@ class Libngspice < Formula def install system "./autogen.sh" if build.head? - system "./configure", "--prefix=#{prefix}", "--disable-debug", - "--disable-dependency-tracking", "--with-ngshared", "--enable-cider", - "--enable-xspice" + + args = %W[ + --disable-debug + --disable-dependency-tracking + --prefix=#{prefix} + --with-ngshared + --enable-cider + --enable-xspice + ] + + system "./configure", *args system "make", "install" end