Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added e-antic 2.0.2 #233

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions Formula/eantic.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
class Eantic < Formula
desc "Computing with Real Embedded Number Fields"
homepage "https://flatsurf.github.io/e-antic/libeantic/"
url "https://github.com/flatsurf/e-antic/releases/download/2.0.2/e-antic-2.0.2.tar.gz"
sha256 "8328e6490129dfec7f4aa478ebd54dc07686bd5e5e7f5f30dcf20c0f11b67f60"
license any_of: ["LGPL-3.0-only", "GPL-3.0-only"]

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build

depends_on "boost"
depends_on "flint"

def install
ENV.cxx11

args = [
"--prefix=#{prefix}",
"--disable-shared",
"--disable-silent-rules",
"--disable-dependency-tracking",
"--without-benchmark",
"--without-byexample",
"--without-pytest",
"--without-doc",
]

system "autoreconf", "-vif"
system "./configure", *args
system "make", "install"
system "make", "check" if build.bottle?
end

test do
system "true"
end
end
Loading