boost: bump to version 1.63.0
[buildroot-gz.git] / package / links / links.mk
blobce0e638f95dcb5970226a80600bdc456f3c6205f
1 ################################################################################
3 # links
5 ################################################################################
7 LINKS_VERSION = 2.14
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 ifeq ($(BR2_STATIC_LIBS),y)
26 LINKS_CONF_ENV += LIBS=-lstdc++
27 endif
28 LINKS_CONF_OPTS += --with-directfb
29 LINKS_DEPENDENCIES += directfb
30 else
31 LINKS_CONF_OPTS += --without-directfb
32 endif
33 ifeq ($(BR2_PACKAGE_JPEG),y)
34 LINKS_CONF_OPTS += --with-libjpeg
35 LINKS_DEPENDENCIES += jpeg
36 else
37 LINKS_CONF_OPTS += --without-libjpeg
38 endif
39 ifeq ($(BR2_PACKAGE_LIBRSVG),y)
40 LINKS_CONF_OPTS += --with-librsvg
41 LINKS_DEPENDENCIES += librsvg
42 else
43 LINKS_CONF_OPTS += --without-librsvg
44 endif
45 ifeq ($(BR2_PACKAGE_TIFF),y)
46 LINKS_CONF_OPTS += --with-libtiff
47 LINKS_DEPENDENCIES += tiff
48 else
49 LINKS_CONF_OPTS += --without-libtiff
50 endif
51 else
52 LINKS_CONF_OPTS += --disable-graphics
53 endif
55 ifeq ($(BR2_PACKAGE_BZIP2),y)
56 LINKS_CONF_OPTS += --with-bzip2
57 LINKS_DEPENDENCIES += bzip2
58 else
59 LINKS_CONF_OPTS += --without-bzip2
60 endif
62 ifeq ($(BR2_PACKAGE_GPM),y)
63 LINKS_CONF_OPTS += --with-gpm
64 LINKS_DEPENDENCIES += gpm
65 else
66 LINKS_CONF_OPTS += --without-gpm
67 endif
69 ifeq ($(BR2_PACKAGE_LIBEVENT),y)
70 LINKS_CONF_OPTS += --with-libevent
71 LINKS_DEPENDENCIES += libevent
72 else
73 LINKS_CONF_OPTS += --without-libevent
74 endif
76 ifeq ($(BR2_PACKAGE_OPENSSL),y)
77 LINKS_CONF_OPTS += --with-ssl --enable-ssl-pkgconfig
78 LINKS_DEPENDENCIES += openssl
79 else
80 LINKS_CONF_OPTS += --without-ssl
81 endif
83 ifeq ($(BR2_PACKAGE_XZ),y)
84 LINKS_CONF_OPTS += --with-lzma
85 LINKS_DEPENDENCIES += xz
86 else
87 LINKS_CONF_OPTS += --without-lzma
88 endif
90 ifeq ($(BR2_PACKAGE_ZLIB),y)
91 LINKS_CONF_OPTS += --with-zlib
92 LINKS_DEPENDENCIES += zlib
93 else
94 LINKS_CONF_OPTS += --without-zlib
95 endif
97 $(eval $(autotools-package))