c9721b54f3
[Peter: use X11-style instead of X-style] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
30 lines
782 B
Makefile
30 lines
782 B
Makefile
################################################################################
|
|
#
|
|
# libgeotiff
|
|
#
|
|
################################################################################
|
|
|
|
LIBGEOTIFF_VERSION = 1.4.0
|
|
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
|
|
|
|
$(eval $(autotools-package))
|