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 LINKS_CONF_OPTS
+= --with-directfb
26 LINKS_DEPENDENCIES
+= directfb
28 LINKS_CONF_OPTS
+= --without-directfb
30 ifeq ($(BR2_PACKAGE_JPEG
),y
)
31 LINKS_DEPENDENCIES
+= jpeg
33 ifeq ($(BR2_PACKAGE_TIFF
),y
)
34 LINKS_DEPENDENCIES
+= tiff
38 ifeq ($(BR2_PACKAGE_BZIP2
),y
)
39 LINKS_DEPENDENCIES
+= bzip2
42 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
43 LINKS_DEPENDENCIES
+= openssl
46 ifeq ($(BR2_PACKAGE_ZLIB
),y
)
47 LINKS_DEPENDENCIES
+= zlib
50 $(eval
$(autotools-package
))