summaryrefslogtreecommitdiff
path: root/homebrew/liblwgeom/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/liblwgeom/.make.sh-auto')
-rw-r--r--homebrew/liblwgeom/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/liblwgeom/.make.sh-auto b/homebrew/liblwgeom/.make.sh-auto
new file mode 100644
index 000000000..9f1a982ca
--- /dev/null
+++ b/homebrew/liblwgeom/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+ENV.deparallelize
+ENV["SDKROOT"] = MacOS.sdk_path if MacOS.version == :sierra
+args = [
+"--disable-dependency-tracking", "--disable-nls", "--with-projdir=#{Formula["proj"].opt_prefix}", "--with-jsondir=#{Formula["json-c"].opt_prefix}", "--without-pgconfig", "--without-libiconv-prefix", "--without-libintl-prefix", "--without-raster",
+"--without-topology", ]
+./autogen.sh
+pkg:configure *args
+mkdir "stage"
+cd "liblwgeom"
+make DESTDIR=${PKG_DEST} install DESTDIR=#{buildpath}/stage