Skip to content

Commit 7589274

Browse files
authored
bali-phy: 4.0 (#1977)
* bali-phy: 4.0 * Fix style. * Fix install command.
1 parent eef193b commit 7589274

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Formula/bali-phy.rb

+9-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ class BaliPhy < Formula
44
desc "Bayesian co-estimation of phylogenies and multiple alignments"
55
homepage "https://www.bali-phy.org/"
66
url "https://github.com/bredelings/BAli-Phy.git",
7-
tag: "4.0-beta17",
8-
regision: "33285a20bf37b12fa61344d36fb1668c850b43d0"
7+
tag: "4.0",
8+
revision: "6cb702d708600ebfdff41829e8be2ed9f033d336"
99
license "GPL-2.0-or-later"
1010
head "https://github.com/bredelings/BAli-Phy.git", branch: "master"
1111

@@ -22,13 +22,17 @@ class BaliPhy < Formula
2222
sha256 cellar: :any_skip_relocation, x86_64_linux: "8195aca549207e85a206fbaaa9917d927a8dd0bbb267ddc3356b9335e41e37f9"
2323
end
2424

25+
depends_on "cereal" => :build
2526
depends_on "eigen" => :build
2627
depends_on "meson" => :build
2728
depends_on "ninja" => :build
2829
depends_on "pandoc" => :build
2930
depends_on "pkg-config" => :build
31+
depends_on "range-v3" => :build
32+
3033
depends_on "boost"
3134
depends_on "cairo"
35+
depends_on "fmt"
3236
depends_on "gcc" unless OS.mac? # for C++20
3337

3438
on_macos do
@@ -50,9 +54,9 @@ def install
5054
ENV["CXX"] = Formula["llvm"].opt_bin/"clang++" if OS.mac? && DevelopmentTools.clang_build_version <= 1500
5155
ENV["BOOST_ROOT"] = Formula["boost"].opt_prefix
5256

53-
flags = %w[-C build install]
54-
system "meson", "build", "--prefix=#{prefix}", "--buildtype=release", "-Db_ndebug=true"
55-
system "ninja", *flags
57+
flags = %w[install -C build]
58+
system "meson", "setup", "build", "--prefix=#{prefix}", "--buildtype=release", "-Db_ndebug=true"
59+
system "meson", *flags
5660
end
5761

5862
test do

0 commit comments

Comments
 (0)