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
28 lines (24 loc) · 718 Bytes
/
bali-phy.rb
File metadata and controls
28 lines (24 loc) · 718 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
25
26
27
28
require 'formula'
class BaliPhy < Formula
homepage 'http://www.bali-phy.org/'
url 'http://www.bali-phy.org/bali-phy-2.1.1.tar.gz'
sha1 'e72073a1c5b05c797668e476bfd8517594f074e6'
depends_on 'pkg-config' => :build
depends_on 'cairo'
depends_on 'gsl'
fails_with :clang do
build 425
cause <<-EOS.undent
io.H:25:31: error: use of undeclared identifier 'push_back'
void operator()(const T& t){push_back(t);}
EOS
end
def install
mkdir 'macbuild' do
system "../configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-cairo"
system "make install"
end
end
end