package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / links / links.mk
blobba55061d7187260a98445acea2c63823b3b001b3
1 ################################################################################
3 # links
5 ################################################################################
7 LINKS_VERSION = 2.12
8 LINKS_SOURCE = links-$(LINKS_VERSION).tar.bz2
9 LINKS_SITE = http://links.twibright.com/download
10 LINKS_DEPENDENCIES = host-pkgconf
11 LINKS_LICENSE = GPLv2+
12 LINKS_LICENSE_FILES = COPYING
14 ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
15 LINKS_CONF_OPTS += --enable-graphics
16 LINKS_DEPENDENCIES += libpng
17 ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y)
18 LINKS_CONF_OPTS += --with-x
19 LINKS_DEPENDENCIES += xlib_libXt
20 else
21 LINKS_CONF_OPTS += --without-x
22 endif
23 ifeq ($(BR2_PACKAGE_DIRECTFB),y)
24 LINKS_CONF_ENV = ac_cv_path_DIRECTFB_CONFIG=$(STAGING_DIR)/usr/bin/directfb-config
25 LINKS_CONF_OPTS += --with-directfb
26 LINKS_DEPENDENCIES += directfb
27 else
28 LINKS_CONF_OPTS += --without-directfb
29 endif
30 ifeq ($(BR2_PACKAGE_JPEG),y)
31 LINKS_DEPENDENCIES += jpeg
32 endif
33 ifeq ($(BR2_PACKAGE_TIFF),y)
34 LINKS_DEPENDENCIES += tiff
35 endif
36 endif
38 ifeq ($(BR2_PACKAGE_BZIP2),y)
39 LINKS_DEPENDENCIES += bzip2
40 endif
42 ifeq ($(BR2_PACKAGE_OPENSSL),y)
43 LINKS_DEPENDENCIES += openssl
44 endif
46 ifeq ($(BR2_PACKAGE_ZLIB),y)
47 LINKS_DEPENDENCIES += zlib
48 endif
50 $(eval $(autotools-package))