1 ################################################################################
5 ################################################################################
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
21 LINKS_CONF_OPTS
+= --without-x
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
++
28 LINKS_CONF_OPTS
+= --with-directfb
29 LINKS_DEPENDENCIES
+= directfb
31 LINKS_CONF_OPTS
+= --without-directfb
33 ifeq ($(BR2_PACKAGE_JPEG
),y
)
34 LINKS_CONF_OPTS
+= --with-libjpeg
35 LINKS_DEPENDENCIES
+= jpeg
37 LINKS_CONF_OPTS
+= --without-libjpeg
39 ifeq ($(BR2_PACKAGE_LIBRSVG
),y
)
40 LINKS_CONF_OPTS
+= --with-librsvg
41 LINKS_DEPENDENCIES
+= librsvg
43 LINKS_CONF_OPTS
+= --without-librsvg
45 ifeq ($(BR2_PACKAGE_TIFF
),y
)
46 LINKS_CONF_OPTS
+= --with-libtiff
47 LINKS_DEPENDENCIES
+= tiff
49 LINKS_CONF_OPTS
+= --without-libtiff
52 LINKS_CONF_OPTS
+= --disable-graphics
55 ifeq ($(BR2_PACKAGE_BZIP2
),y
)
56 LINKS_CONF_OPTS
+= --with-bzip2
57 LINKS_DEPENDENCIES
+= bzip2
59 LINKS_CONF_OPTS
+= --without-bzip2
62 ifeq ($(BR2_PACKAGE_GPM
),y
)
63 LINKS_CONF_OPTS
+= --with-gpm
64 LINKS_DEPENDENCIES
+= gpm
66 LINKS_CONF_OPTS
+= --without-gpm
69 ifeq ($(BR2_PACKAGE_LIBEVENT
),y
)
70 LINKS_CONF_OPTS
+= --with-libevent
71 LINKS_DEPENDENCIES
+= libevent
73 LINKS_CONF_OPTS
+= --without-libevent
76 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
77 LINKS_CONF_OPTS
+= --with-ssl
--enable-ssl-pkgconfig
78 LINKS_DEPENDENCIES
+= openssl
80 LINKS_CONF_OPTS
+= --without-ssl
83 ifeq ($(BR2_PACKAGE_XZ
),y
)
84 LINKS_CONF_OPTS
+= --with-lzma
85 LINKS_DEPENDENCIES
+= xz
87 LINKS_CONF_OPTS
+= --without-lzma
90 ifeq ($(BR2_PACKAGE_ZLIB
),y
)
91 LINKS_CONF_OPTS
+= --with-zlib
92 LINKS_DEPENDENCIES
+= zlib
94 LINKS_CONF_OPTS
+= --without-zlib
97 $(eval
$(autotools-package
))