homebrew-core/Formula/sfcgal.rb

28 lines
833 B
Ruby
Raw Normal View History

class Sfcgal < Formula
desc "C++ wrapper library around CGAL"
homepage "http://sfcgal.org/"
2014-08-20 06:14:57 +00:00
url "https://github.com/Oslandia/SFCGAL/archive/v1.0.5.tar.gz"
sha256 "a9cdaf7334bf28dc71c6338d090c1d1402041c5e320b6c2e3669f7758946a01c"
revision 2
2014-05-29 09:03:26 +00:00
bottle do
2015-04-14 20:33:20 +00:00
sha256 "5a6a90bbd1b78cd81d7b9d72b9ee5b360883c9c4acbbad25c63544443883c2e0" => :yosemite
sha256 "d765a95d58a672eee6ef1330a5f97c062789229e49698ee2be029771f7967764" => :mavericks
sha256 "c32d2cbf1c530d11470683c9e4d8ae5004325b93474b840359627c0bd543f214" => :mountain_lion
2014-05-29 09:03:26 +00:00
end
depends_on "cmake" => :build
depends_on "cgal"
2014-05-29 22:22:45 +00:00
depends_on "gmp"
depends_on "mpfr"
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
test do
assert_equal prefix.to_s, shell_output("#{bin}/sfcgal-config --prefix").strip
end
end