Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # |
| 3 | # dillo |
| 4 | # |
| 5 | ################################################################################ |
| 6 | |
Peter Seiderer | c079a9a | 2015-10-16 00:11:16 +0200 | [diff] [blame] | 7 | DILLO_VERSION = 3.0.5 |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 8 | DILLO_SOURCE = dillo-$(DILLO_VERSION).tar.bz2 |
| 9 | DILLO_SITE = http://www.dillo.org/download |
Rahul Bedarkar | 337aa51 | 2017-03-30 19:13:33 +0530 | [diff] [blame] | 10 | DILLO_LICENSE = GPL-3.0+ |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 11 | DILLO_LICENSE_FILES = COPYING |
Alex Suykov | ecf332e | 2015-01-10 15:34:26 +0200 | [diff] [blame] | 12 | # configure.ac gets patched, so autoreconf is necessary |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 13 | DILLO_AUTORECONF = YES |
Gustavo Zacarias | 6a570ac | 2015-01-08 15:18:58 -0300 | [diff] [blame] | 14 | DILLO_DEPENDENCIES = fltk zlib \ |
| 15 | $(if $(BR2_PACKAGE_LIBICONV),libiconv) |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 16 | DILLO_CONF_ENV = ac_cv_path_FLTK_CONFIG=$(STAGING_DIR)/usr/bin/fltk-config |
| 17 | |
| 18 | ifeq ($(BR2_PACKAGE_OPENSSL),y) |
Jerzy Grzegorek | bd8c733 | 2015-03-31 09:21:57 +0200 | [diff] [blame] | 19 | DILLO_CONF_OPTS += --enable-ssl |
| 20 | DILLO_DEPENDENCIES += openssl |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 21 | else |
Jerzy Grzegorek | bd8c733 | 2015-03-31 09:21:57 +0200 | [diff] [blame] | 22 | DILLO_CONF_OPTS += --disable-ssl |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 23 | endif |
| 24 | |
| 25 | ifeq ($(BR2_PACKAGE_LIBPNG),y) |
Jerzy Grzegorek | bd8c733 | 2015-03-31 09:21:57 +0200 | [diff] [blame] | 26 | DILLO_CONF_OPTS += --enable-png |
| 27 | DILLO_DEPENDENCIES += libpng |
| 28 | DILLO_CONF_ENV += PNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 29 | else |
Jerzy Grzegorek | bd8c733 | 2015-03-31 09:21:57 +0200 | [diff] [blame] | 30 | DILLO_CONF_OPTS += --disable-png |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 31 | endif |
| 32 | |
| 33 | ifeq ($(BR2_PACKAGE_JPEG),y) |
Jerzy Grzegorek | bd8c733 | 2015-03-31 09:21:57 +0200 | [diff] [blame] | 34 | DILLO_CONF_OPTS += --enable-jpeg |
Peter Korsgaard | d222f6d | 2016-01-01 19:48:47 +0100 | [diff] [blame] | 35 | DILLO_DEPENDENCIES += jpeg |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 36 | else |
Jerzy Grzegorek | bd8c733 | 2015-03-31 09:21:57 +0200 | [diff] [blame] | 37 | DILLO_CONF_OPTS += --disable-jpeg |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 38 | endif |
| 39 | |
| 40 | ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) |
Jerzy Grzegorek | bd8c733 | 2015-03-31 09:21:57 +0200 | [diff] [blame] | 41 | DILLO_CONF_OPTS += --enable-threaded-dns |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 42 | else |
Jerzy Grzegorek | bd8c733 | 2015-03-31 09:21:57 +0200 | [diff] [blame] | 43 | DILLO_CONF_OPTS += --disable-threaded-dns |
Peter Seiderer | 65b4753 | 2014-05-29 22:04:35 +0200 | [diff] [blame] | 44 | endif |
| 45 | |
| 46 | $(eval $(autotools-package)) |