|
|
@@ -0,0 +1,26 @@
|
|
|
+config BR2_PACKAGE_OSM2PGSQL
|
|
|
+ bool "osm2pgsql"
|
|
|
+ depends on BR2_INSTALL_LIBSTDCPP # boost, fmt, libosmium, protozero
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, libosmium, protozero
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium
|
|
|
+ depends on BR2_USE_WCHAR # boost, fmt, libosmium
|
|
|
+ select BR2_PACKAGE_BOOST
|
|
|
+ select BR2_PACKAGE_BOOST_SYSTEM
|
|
|
+ select BR2_PACKAGE_BOOST_FILESYSTEM
|
|
|
+ select BR2_PACKAGE_BZIP2
|
|
|
+ select BR2_PACKAGE_EXPAT
|
|
|
+ select BR2_PACKAGE_FMT
|
|
|
+ select BR2_PACKAGE_LIBOSMIUM
|
|
|
+ select BR2_PACKAGE_PROTOZERO
|
|
|
+ select BR2_PACKAGE_ZLIB
|
|
|
+ help
|
|
|
+ osm2pgsql is a tool for loading OpenStreetMap data into a
|
|
|
+ PostgreSQL / PostGIS database suitable for applications like
|
|
|
+ rendering into a map, geocoding with Nominatim,
|
|
|
+ or general analysis.
|
|
|
+
|
|
|
+ https://osm2pgsql.org
|
|
|
+
|
|
|
+comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 4.7"
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
|
|
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_HAS_THREADS
|