diff options
Diffstat (limited to 'homebrew/mapnik/.beer')
-rw-r--r-- | homebrew/mapnik/.beer | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/homebrew/mapnik/.beer b/homebrew/mapnik/.beer new file mode 100644 index 000000000..005919513 --- /dev/null +++ b/homebrew/mapnik/.beer @@ -0,0 +1,111 @@ +{ + "name": "Mapnik", + "description": "Toolkit for developing mapping applications", + "url": "https://github.com/mapnik/mapnik/releases/download/v3.0.22/mapnik-v3.0.22.tar.bz2", + "mirror": null, + "homepage": "https://mapnik.org/", + "depends": [ + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "boost", + "build-depend": false + }, + { + "depend": "cairo", + "build-depend": false + }, + { + "depend": "freetype", + "build-depend": false + }, + { + "depend": "gdal", + "build-depend": false + }, + { + "depend": "harfbuzz", + "build-depend": false + }, + { + "depend": "icu4c", + "build-depend": false + }, + { + "depend": "jpeg", + "build-depend": false + }, + { + "depend": "libpng", + "build-depend": false + }, + { + "depend": "libtiff", + "build-depend": false + }, + { + "depend": "postgresql", + "build-depend": false + }, + { + "depend": "proj", + "build-depend": false + }, + { + "depend": "webp", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV.cxx11", + "ENV.delete(\"SDKROOT\") if DevelopmentTools.clang_build_version >= 900", + "ENV.append_to_cflags \"-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H\"", + "boost = Formula[\"boost\"].opt_prefix", + "freetype = Formula[\"freetype\"].opt_prefix", + "harfbuzz = Formula[\"harfbuzz\"].opt_prefix", + "icu = Formula[\"icu4c\"].opt_prefix", + "jpeg = Formula[\"jpeg\"].opt_prefix", + "libpng = Formula[\"libpng\"].opt_prefix", + "libtiff = Formula[\"libtiff\"].opt_prefix", + "proj = Formula[\"proj\"].opt_prefix", + "webp = Formula[\"webp\"].opt_prefix", + "args = %W[", + "CC=#{ENV.cc}", + "CXX=#{ENV.cxx}", + "PREFIX=#{prefix}", + "BOOST_INCLUDES=#{boost}/include", + "BOOST_LIBS=#{boost}/lib", + "CAIRO=True", + "CPP_TESTS=False", + "FREETYPE_CONFIG=#{freetype}/bin/freetype-config", + "GDAL_CONFIG=#{Formula[\"gdal\"].opt_bin}/gdal-config", + "HB_INCLUDES=#{harfbuzz}/include", + "HB_LIBS=#{harfbuzz}/lib", + "ICU_INCLUDES=#{icu}/include", + "ICU_LIBS=#{icu}/lib", + "INPUT_PLUGINS=all", + "JPEG_INCLUDES=#{jpeg}/include", + "JPEG_LIBS=#{jpeg}/lib", + "NIK2IMG=False", + "PG_CONFIG=#{Formula[\"postgresql\"].opt_bin}/pg_config", + "PNG_INCLUDES=#{libpng}/include", + "PNG_LIBS=#{libpng}/lib", + "PROJ_INCLUDES=#{proj}/include", + "PROJ_LIBS=#{proj}/lib", + "TIFF_INCLUDES=#{libtiff}/include", + "TIFF_LIBS=#{libtiff}/lib", + "WEBP_INCLUDES=#{webp}/include", + "WEBP_LIBS=#{webp}/lib", + "]", + "system \"./configure\", *args", + "system \"make\"", + "system \"make\", \"install\"" + ], + "version": "3.0.22", + "file": "mapnik.rb" +}
\ No newline at end of file |