From 7fe59df616ebe00a27bb698b5c1d9c51556e88c2 Mon Sep 17 00:00:00 2001 From: Kashif Rasul Date: Thu, 29 May 2014 10:38:58 +0200 Subject: New formula: sfcgal 1.0.4 recommended for postgis Closes #29680. Signed-off-by: Jack Nagel --- Library/Formula/sfcgal.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Library/Formula/sfcgal.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3