2017-12-17 00:52:59 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# proj
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-12-13 18:59:18 +01:00
|
|
|
PROJ_VERSION = 7.2.0
|
2017-12-17 00:52:59 +01:00
|
|
|
PROJ_SITE = http://download.osgeo.org/proj
|
|
|
|
PROJ_LICENSE = MIT
|
|
|
|
PROJ_LICENSE_FILES = COPYING
|
|
|
|
PROJ_INSTALL_STAGING = YES
|
2019-10-08 19:04:33 +02:00
|
|
|
PROJ_DEPENDENCIES = host-pkgconf host-sqlite sqlite
|
2017-12-17 00:52:59 +01:00
|
|
|
|
2019-06-25 08:44:36 +02:00
|
|
|
PROJ_CFLAGS = $(TARGET_CFLAGS)
|
2019-12-31 16:09:57 +01:00
|
|
|
PROJ_CXXFLAGS = $(TARGET_CXXFLAGS)
|
2019-06-25 08:44:36 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
|
|
|
PROJ_CFLAGS += -O0
|
2019-12-31 16:09:57 +01:00
|
|
|
PROJ_CXXFLAGS += -O0
|
2019-06-25 08:44:36 +02:00
|
|
|
endif
|
|
|
|
|
2019-12-31 16:09:57 +01:00
|
|
|
PROJ_CONF_ENV = \
|
|
|
|
CFLAGS="$(PROJ_CFLAGS)" \
|
|
|
|
CXXFLAGS="$(PROJ_CXXFLAGS)"
|
2019-06-25 08:44:36 +02:00
|
|
|
|
2020-05-01 15:14:02 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
|
|
PROJ_DEPENDENCIES += libcurl
|
|
|
|
PROJ_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr/bin/curl-config
|
|
|
|
else
|
|
|
|
PROJ_CONF_OPTS += --without-curl
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF),y)
|
|
|
|
PROJ_DEPENDENCIES += tiff
|
|
|
|
PROJ_CONF_OPTS += --enable-tiff
|
|
|
|
else
|
|
|
|
PROJ_CONF_OPTS += --disable-tiff
|
|
|
|
endif
|
|
|
|
|
2017-12-17 00:52:59 +01:00
|
|
|
$(eval $(autotools-package))
|