2021-04-28 06:12:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libosmium
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-12-30 08:50:28 +01:00
|
|
|
LIBOSMIUM_VERSION = 2.17.2
|
2021-04-28 06:12:14 +02:00
|
|
|
LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION))
|
|
|
|
LIBOSMIUM_LICENSE = BSL-1.0
|
|
|
|
LIBOSMIUM_LICENSE_FILES = LICENSE
|
|
|
|
LIBOSMIUM_INSTALL_STAGING = YES
|
2021-12-30 08:50:28 +01:00
|
|
|
LIBOSMIUM_DEPENDENCIES = boost protozero lz4
|
2021-04-28 06:12:14 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
|
|
|
LIBOSMIUM_DEPENDENCIES += bzip2
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_EXPAT),y)
|
|
|
|
LIBOSMIUM_DEPENDENCIES += expat
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGEOS),y)
|
|
|
|
LIBOSMIUM_DEPENDENCIES += libgeos
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_PROJ),y)
|
|
|
|
LIBOSMIUM_DEPENDENCIES += proj
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
LIBOSMIUM_DEPENDENCIES += zlib
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|