forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbali-phy.rb
More file actions
24 lines (20 loc) · 732 Bytes
/
Copy pathbali-phy.rb
File metadata and controls
24 lines (20 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'
class BaliPhy < Formula
homepage 'http://www.bali-phy.org/'
url 'http://www.bali-phy.org/bali-phy-2.3.6.tar.gz'
sha1 '037db27894deb1df5fb7315376e7e1292c50f9c8'
depends_on 'pkg-config' => :build
depends_on 'cairo'
needs :cxx11
def install
mkdir 'macbuild' do
system "../configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-cairo",
# Necessary for clang 5.0, which has a default depth of 128.
# This is fixed in clang 5.1
"CXXFLAGS=-ftemplate-depth=256"
system "make install"
end
end
end