2014-05-29 22:04:35 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# dillo
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-16 00:11:16 +02:00
|
|
|
DILLO_VERSION = 3.0.5
|
2014-05-29 22:04:35 +02:00
|
|
|
DILLO_SOURCE = dillo-$(DILLO_VERSION).tar.bz2
|
|
|
|
DILLO_SITE = http://www.dillo.org/download
|
2017-03-30 15:43:33 +02:00
|
|
|
DILLO_LICENSE = GPL-3.0+
|
2014-05-29 22:04:35 +02:00
|
|
|
DILLO_LICENSE_FILES = COPYING
|
2015-01-10 14:34:26 +01:00
|
|
|
# configure.ac gets patched, so autoreconf is necessary
|
2014-05-29 22:04:35 +02:00
|
|
|
DILLO_AUTORECONF = YES
|
2015-01-08 19:18:58 +01:00
|
|
|
DILLO_DEPENDENCIES = fltk zlib \
|
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
2014-05-29 22:04:35 +02:00
|
|
|
DILLO_CONF_ENV = ac_cv_path_FLTK_CONFIG=$(STAGING_DIR)/usr/bin/fltk-config
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
DILLO_CONF_OPTS += --enable-ssl
|
|
|
|
DILLO_DEPENDENCIES += openssl
|
2014-05-29 22:04:35 +02:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
DILLO_CONF_OPTS += --disable-ssl
|
2014-05-29 22:04:35 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
DILLO_CONF_OPTS += --enable-png
|
|
|
|
DILLO_DEPENDENCIES += libpng
|
|
|
|
DILLO_CONF_ENV += PNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config
|
2014-05-29 22:04:35 +02:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
DILLO_CONF_OPTS += --disable-png
|
2014-05-29 22:04:35 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
DILLO_CONF_OPTS += --enable-jpeg
|
2016-01-01 19:48:47 +01:00
|
|
|
DILLO_DEPENDENCIES += jpeg
|
2014-05-29 22:04:35 +02:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
DILLO_CONF_OPTS += --disable-jpeg
|
2014-05-29 22:04:35 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
DILLO_CONF_OPTS += --enable-threaded-dns
|
2014-05-29 22:04:35 +02:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
DILLO_CONF_OPTS += --disable-threaded-dns
|
2014-05-29 22:04:35 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|