Initial Commit
- initial default booting image
This commit is contained in:
32
package/osm2pgsql/Config.in
Normal file
32
package/osm2pgsql/Config.in
Normal file
@@ -0,0 +1,32 @@
|
||||
config BR2_PACKAGE_OSM2PGSQL
|
||||
bool "osm2pgsql"
|
||||
depends on BR2_ARCH_IS_64
|
||||
depends on BR2_INSTALL_LIBSTDCPP # boost, libosmium, protozero
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++14, filesystem
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium
|
||||
depends on BR2_USE_WCHAR # boost, libosmium
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
|
||||
depends on BR2_PACKAGE_LUA || BR2_PACKAGE_LUAJIT
|
||||
select BR2_PACKAGE_BOOST
|
||||
select BR2_PACKAGE_BZIP2
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_JSON_FOR_MODERN_CPP
|
||||
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 >= 8"
|
||||
depends on BR2_ARCH_IS_64
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
comment "osm2pgsql needs a toolchain not affected by GCC bug 64735"
|
||||
depends on BR2_ARCH_IS_64
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
3
package/osm2pgsql/osm2pgsql.hash
Normal file
3
package/osm2pgsql/osm2pgsql.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 e90461bd78787fd5cf82f73ac4bc0cfccbc4f498f35dce59eb4d168a380d6ac0 osm2pgsql-2.3.1.tar.gz
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
|
||||
38
package/osm2pgsql/osm2pgsql.mk
Normal file
38
package/osm2pgsql/osm2pgsql.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# osm2pgsql
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OSM2PGSQL_VERSION = 2.3.1
|
||||
OSM2PGSQL_SITE = $(call github,osm2pgsql-dev,osm2pgsql,$(OSM2PGSQL_VERSION))
|
||||
OSM2PGSQL_LICENSE = GPL-2.0+
|
||||
OSM2PGSQL_LICENSE_FILES = COPYING
|
||||
OSM2PGSQL_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
OSM2PGSQL_DEPENDENCIES = boost bzip2 expat json-for-modern-cpp libosmium postgresql protozero zlib
|
||||
|
||||
# fmt > 8.0 is not yet supported
|
||||
OSM2PGSQL_CONF_OPTS = \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DBUILD_COVERAGE=OFF \
|
||||
-DEXTERNAL_FMT=OFF \
|
||||
-DEXTERNAL_LIBOSMIUM=ON \
|
||||
-DEXTERNAL_PROTOZERO=ON
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUAJIT),y)
|
||||
OSM2PGSQL_DEPENDENCIES += luajit
|
||||
OSM2PGSQL_CONF_OPTS += -DWITH_LUAJIT=ON
|
||||
else
|
||||
OSM2PGSQL_DEPENDENCIES += lua
|
||||
OSM2PGSQL_CONF_OPTS += -DWITH_LUAJIT=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PROJ),y)
|
||||
OSM2PGSQL_DEPENDENCIES += proj
|
||||
OSM2PGSQL_CONF_OPTS += -DWITH_PROJ=ON
|
||||
else
|
||||
OSM2PGSQL_CONF_OPTS += -DWITH_PROJ=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user