From 62f1f409b1b75ddba542d5814f98afe8852bfd49 Mon Sep 17 00:00:00 2001 From: Mahrud Sayrafi Date: Fri, 17 May 2024 05:21:59 -0500 Subject: [PATCH] phcpack v2.4.90 (new formula) --- Aliases/phc | 1 + Formula/phcpack.rb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 120000 Aliases/phc create mode 100644 Formula/phcpack.rb 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..de66b82 --- /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", "-f", "makefile_unix", "phc" + system "make", "-j", "-C", "src/Objects", "-f", "makefile_unix", "install" + end + + test do + system "true" + end +end