blob: a6885f5c14b40c51bf32ca3ee695c732c674c888 [file] [log] [blame]
Peter Seiderer65b47532014-05-29 22:04:35 +02001################################################################################
2#
3# dillo
4#
5################################################################################
6
Peter Seidererc079a9a2015-10-16 00:11:16 +02007DILLO_VERSION = 3.0.5
Peter Seiderer65b47532014-05-29 22:04:35 +02008DILLO_SOURCE = dillo-$(DILLO_VERSION).tar.bz2
9DILLO_SITE = http://www.dillo.org/download
Rahul Bedarkar337aa512017-03-30 19:13:33 +053010DILLO_LICENSE = GPL-3.0+
Peter Seiderer65b47532014-05-29 22:04:35 +020011DILLO_LICENSE_FILES = COPYING
Alex Suykovecf332e2015-01-10 15:34:26 +020012# configure.ac gets patched, so autoreconf is necessary
Peter Seiderer65b47532014-05-29 22:04:35 +020013DILLO_AUTORECONF = YES
Gustavo Zacarias6a570ac2015-01-08 15:18:58 -030014DILLO_DEPENDENCIES = fltk zlib \
15 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
Peter Seiderer65b47532014-05-29 22:04:35 +020016DILLO_CONF_ENV = ac_cv_path_FLTK_CONFIG=$(STAGING_DIR)/usr/bin/fltk-config
17
18ifeq ($(BR2_PACKAGE_OPENSSL),y)
Jerzy Grzegorekbd8c7332015-03-31 09:21:57 +020019DILLO_CONF_OPTS += --enable-ssl
20DILLO_DEPENDENCIES += openssl
Peter Seiderer65b47532014-05-29 22:04:35 +020021else
Jerzy Grzegorekbd8c7332015-03-31 09:21:57 +020022DILLO_CONF_OPTS += --disable-ssl
Peter Seiderer65b47532014-05-29 22:04:35 +020023endif
24
25ifeq ($(BR2_PACKAGE_LIBPNG),y)
Jerzy Grzegorekbd8c7332015-03-31 09:21:57 +020026DILLO_CONF_OPTS += --enable-png
27DILLO_DEPENDENCIES += libpng
28DILLO_CONF_ENV += PNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config
Peter Seiderer65b47532014-05-29 22:04:35 +020029else
Jerzy Grzegorekbd8c7332015-03-31 09:21:57 +020030DILLO_CONF_OPTS += --disable-png
Peter Seiderer65b47532014-05-29 22:04:35 +020031endif
32
33ifeq ($(BR2_PACKAGE_JPEG),y)
Jerzy Grzegorekbd8c7332015-03-31 09:21:57 +020034DILLO_CONF_OPTS += --enable-jpeg
Peter Korsgaardd222f6d2016-01-01 19:48:47 +010035DILLO_DEPENDENCIES += jpeg
Peter Seiderer65b47532014-05-29 22:04:35 +020036else
Jerzy Grzegorekbd8c7332015-03-31 09:21:57 +020037DILLO_CONF_OPTS += --disable-jpeg
Peter Seiderer65b47532014-05-29 22:04:35 +020038endif
39
40ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
Jerzy Grzegorekbd8c7332015-03-31 09:21:57 +020041DILLO_CONF_OPTS += --enable-threaded-dns
Peter Seiderer65b47532014-05-29 22:04:35 +020042else
Jerzy Grzegorekbd8c7332015-03-31 09:21:57 +020043DILLO_CONF_OPTS += --disable-threaded-dns
Peter Seiderer65b47532014-05-29 22:04:35 +020044endif
45
46$(eval $(autotools-package))