summaryrefslogtreecommitdiff
path: root/homebrew/osm2pgsql/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/osm2pgsql/.beer')
-rw-r--r--homebrew/osm2pgsql/.beer47
1 files changed, 47 insertions, 0 deletions
diff --git a/homebrew/osm2pgsql/.beer b/homebrew/osm2pgsql/.beer
new file mode 100644
index 000000000..32f46aa00
--- /dev/null
+++ b/homebrew/osm2pgsql/.beer
@@ -0,0 +1,47 @@
+{
+ "name": "Osm2pgsql",
+ "description": "OpenStreetMap data to PostgreSQL converter",
+ "url": "https://github.com/openstreetmap/osm2pgsql/archive/0.96.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://wiki.openstreetmap.org/wiki/Osm2pgsql",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "geos",
+ "build-depend": false
+ },
+ {
+ "depend": "lua",
+ "build-depend": false
+ },
+ {
+ "depend": "postgresql",
+ "build-depend": false
+ },
+ {
+ "depend": "proj",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "lua_version = Formula[\"lua\"].version.to_s.match(/\\d\\.\\d/)",
+ "inreplace \"cmake/FindLua.cmake\", \"LUA_VERSIONS5 5.3 5.2 5.1 5.0\",",
+ "\"LUA_VERSIONS5 #{lua_version}\"",
+ "ENV.append_to_cflags \"-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H\"",
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.96.0",
+ "file": "osm2pgsql.rb"
+} \ No newline at end of file