2014-05-29 22:04:35 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# dillo
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-12-28 13:36:11 +01:00
|
|
|
DILLO_VERSION = 3.0.4.1
|
2014-05-29 22:04:35 +02:00
|
|
|
DILLO_SOURCE = dillo-$(DILLO_VERSION).tar.bz2
|
|
|
|
DILLO_SITE = http://www.dillo.org/download
|
|
|
|
DILLO_LICENSE = GPLv3+
|
|
|
|
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
|
|
|
|
DILLO_DEPENDENCIES += libjpeg
|
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))
|