kumquat-buildroot/package/libgeotiff/libgeotiff.mk
Fabrice Fontaine 4a0cec02fd package/libgeotiff: add optional proj dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-02-04 14:03:56 +01:00

37 lines
949 B
Makefile

################################################################################
#
# libgeotiff
#
################################################################################
LIBGEOTIFF_VERSION = 1.4.3
LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff
LIBGEOTIFF_LICENSE = X11-style, public domain
LIBGEOTIFF_LICENSE_FILES = LICENSE
LIBGEOTIFF_DEPENDENCIES = tiff host-pkgconf
LIBGEOTIFF_INSTALL_STAGING = YES
LIBGEOTIFF_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_ZLIB),y)
LIBGEOTIFF_DEPENDENCIES += zlib
LIBGEOTIFF_CONF_OPTS += --with-zlib
else
LIBGEOTIFF_CONF_OPTS += --without-zlib
endif
ifeq ($(BR2_PACKAGE_JPEG),y)
LIBGEOTIFF_DEPENDENCIES += jpeg
LIBGEOTIFF_CONF_OPTS += --with-jpeg
else
LIBGEOTIFF_CONF_OPTS += --without-jpeg
endif
ifeq ($(BR2_PACKAGE_PROJ),y)
LIBGEOTIFF_DEPENDENCIES += proj
LIBGEOTIFF_CONF_OPTS += --with-proj=$(STAGING_DIR)/usr
else
LIBGEOTIFF_CONF_OPTS += --without-proj
endif
$(eval $(autotools-package))