diff --git a/Aliases/phc b/Aliases/phc new file mode 120000 index 0000000..a45cecc --- /dev/null +++ b/Aliases/phc @@ -0,0 +1 @@ +../Formula/phcpack.rb \ No newline at end of file diff --git a/Formula/phcpack.rb b/Formula/phcpack.rb new file mode 100644 index 0000000..1e742a5 --- /dev/null +++ b/Formula/phcpack.rb @@ -0,0 +1,18 @@ +class Phcpack < Formula + desc "Software package for solving polynomial systems with homotopy continuation" + homepage "https://github.com/janverschelde/PHCpack" + url "https://github.com/janverschelde/PHCpack/archive/refs/tags/v2.4.90.tar.gz" + sha256 "7db1529b019a24e6fc2217ecccbcf3aa56f1b098bbe2f75e834f415e58c8bde7" + license "GPL-3.0-only" + + depends_on "qd" + + def install + system "make", "-j", "-C", "src/Objects", "phc" + system "make", "-j", "-C", "src/Objects", "install" + end + + test do + system "true" + end +end