c131ab1b7b
Use pkg-config to retrieve proj static dependency such as -lstdc++ Fixes: - http://autobuild.buildroot.org/results/77721989e5b057995e6c5f1f184fe368d8a8fa78 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
817 B
Makefile
31 lines
817 B
Makefile
################################################################################
|
|
#
|
|
# libgeotiff
|
|
#
|
|
################################################################################
|
|
|
|
LIBGEOTIFF_VERSION = 1.5.1
|
|
LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff
|
|
LIBGEOTIFF_LICENSE = X11-style, public domain
|
|
LIBGEOTIFF_LICENSE_FILES = LICENSE
|
|
LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf
|
|
LIBGEOTIFF_INSTALL_STAGING = YES
|
|
# We're patching configure.ac
|
|
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
|
|
|
|
$(eval $(autotools-package))
|