kumquat-buildroot/package/proj/proj.mk
Fabrice Fontaine 013eee1452 package/proj: bump to version 8.1.1
Update hash of COPYING (Change mention of PROJ.4 to PROJ and change 'I'
pronoun to Frank Warmerdam:
b56f39dec5)

https://github.com/OSGeo/PROJ/blob/8.1.1/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-09-23 22:16:49 +02:00

41 lines
931 B
Makefile

################################################################################
#
# proj
#
################################################################################
PROJ_VERSION = 8.1.1
PROJ_SITE = http://download.osgeo.org/proj
PROJ_LICENSE = MIT
PROJ_LICENSE_FILES = COPYING
PROJ_INSTALL_STAGING = YES
PROJ_DEPENDENCIES = host-pkgconf host-sqlite sqlite
PROJ_CFLAGS = $(TARGET_CFLAGS)
PROJ_CXXFLAGS = $(TARGET_CXXFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
PROJ_CFLAGS += -O0
PROJ_CXXFLAGS += -O0
endif
PROJ_CONF_ENV = \
CFLAGS="$(PROJ_CFLAGS)" \
CXXFLAGS="$(PROJ_CXXFLAGS)"
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
$(eval $(autotools-package))