3b9f011a4ac1ae834d68885464ce13200b4e4631
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / links / links.mk
1 ################################################################################
2 #
3 # links
4 #
5 ################################################################################
6
7 LINKS_VERSION = 2.9
8 LINKS_SITE = http://links.twibright.com/download
9 LINKS_DEPENDENCIES = host-pkgconf
10 LINKS_LICENSE = GPLv2+
11 LINKS_LICENSE_FILES = COPYING
12
13 ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
14 LINKS_CONF_OPTS += --enable-graphics
15 LINKS_DEPENDENCIES += libpng
16 ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y)
17 LINKS_CONF_OPTS += --with-x
18 LINKS_DEPENDENCIES += xlib_libXt
19 else
20 LINKS_CONF_OPTS += --without-x
21 endif
22 ifeq ($(BR2_PACKAGE_DIRECTFB),y)
23 LINKS_CONF_ENV = ac_cv_path_DIRECTFB_CONFIG=$(STAGING_DIR)/usr/bin/directfb-config
24 LINKS_CONF_OPTS += --with-directfb
25 LINKS_DEPENDENCIES += directfb
26 else
27 LINKS_CONF_OPTS += --without-directfb
28 endif
29 ifeq ($(BR2_PACKAGE_JPEG),y)
30 LINKS_DEPENDENCIES += jpeg
31 endif
32 ifeq ($(BR2_PACKAGE_TIFF),y)
33 LINKS_DEPENDENCIES += tiff
34 endif
35 endif
36
37 ifeq ($(BR2_PACKAGE_BZIP2),y)
38 LINKS_DEPENDENCIES += bzip2
39 endif
40
41 ifeq ($(BR2_PACKAGE_OPENSSL),y)
42 LINKS_DEPENDENCIES += openssl
43 endif
44
45 ifeq ($(BR2_PACKAGE_ZLIB),y)
46 LINKS_DEPENDENCIES += zlib
47 endif
48
49 $(eval $(autotools-package))