aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKashif Rasul2014-05-29 10:38:58 +0200
committerJack Nagel2014-05-29 17:23:27 -0500
commit7fe59df616ebe00a27bb698b5c1d9c51556e88c2 (patch)
tree1b6f6e00a2ce2c8169c272e57bcb611ff14e04c5
parent2b6bdd66f968f914408c43323dc05eb322b568bb (diff)
downloadhomebrew-7fe59df616ebe00a27bb698b5c1d9c51556e88c2.tar.bz2
New formula: sfcgal 1.0.4
recommended for postgis Closes #29680. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/sfcgal.rb15
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