diff options
| -rw-r--r-- | Library/Formula/sfcgal.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/sfcgal.rb b/Library/Formula/sfcgal.rb new file mode 100644 index 000000000..8839c8a8b --- /dev/null +++ b/Library/Formula/sfcgal.rb @@ -0,0 +1,15 @@ +require "formula" + +class Sfcgal < Formula + homepage "http://sfcgal.org/" + url "https://github.com/Oslandia/SFCGAL/archive/v1.0.4.tar.gz" + sha256 "f4660631bf42e2ed3f8b06bcd7a083f3f25e8a860a902bbb4687c60fcde1e131" + + depends_on "cmake" => :build + depends_on "cgal" + + def install + system "cmake", ".", *std_cmake_args + system "make", "install" + end +end |
