summaryrefslogtreecommitdiff
path: root/homebrew/liblwgeom/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/liblwgeom/.beer')
-rw-r--r--homebrew/liblwgeom/.beer66
1 files changed, 66 insertions, 0 deletions
diff --git a/homebrew/liblwgeom/.beer b/homebrew/liblwgeom/.beer
new file mode 100644
index 000000000..247f71f41
--- /dev/null
+++ b/homebrew/liblwgeom/.beer
@@ -0,0 +1,66 @@
+{
+ "name": "Liblwgeom",
+ "description": "Allows SpatiaLite to support ST_MakeValid() like PostGIS",
+ "url": "https://download.osgeo.org/postgis/source/postgis-2.5.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://postgis.net/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "gpp",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "geos",
+ "build-depend": false
+ },
+ {
+ "depend": "json-c",
+ "build-depend": false
+ },
+ {
+ "depend": "proj",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "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\",",
+ "]",
+ "system \"./autogen.sh\"",
+ "system \"./configure\", *args",
+ "mkdir \"stage\"",
+ "cd \"liblwgeom\" do",
+ "system \"make\", \"install\", \"DESTDIR=#{buildpath}/stage\""
+ ],
+ "version": "2.5.2",
+ "file": "liblwgeom.rb"
+} \ No newline at end of file