forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cddlib.rb
24 lines (21 loc) · 952 Bytes
/
cddlib.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class Cddlib < Formula
homepage "http://www.inf.ethz.ch/personal/fukudak/cdd_home/"
url "ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/cddlib-094g.tar.gz"
mirror "http://www.mirrorservice.org/sites/distfiles.finkmirrors.net/cddlib-094g.tar.gz"
sha256 "af1b81226514abf731800e2e104def8a7274817d7e645693f8b99fc2b1432155"
bottle do
root_url "https://homebrew.bintray.com/bottles-science"
cellar :any
sha256 "0017f86e0256835b7bdfc2e09f711ecf406a4024a192d13c4f71aaf88b8d7a05" => :yosemite
sha256 "6e9826434d6d65332469e39cd4afb3069400786d16f0e9224a910070f260a76f" => :mavericks
sha256 "2643cad2d5286a6a17d8b1252b2d607983f8e542c84daed5f7fdf2ed17404594" => :mountain_lion
end
depends_on "gmp"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
doc.install Dir["doc/*"]
(share/"cddlib").install Dir["examples*"]
end
end