summaryrefslogtreecommitdiffstats
path: root/package/links/links.mk
blob: 470b13d502118dd6ab776f4be30a45ae072b2dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#############################################################
#
# links
#
#############################################################

LINKS_VERSION = 2.3pre2
LINKS_SITE = http://links.twibright.com/download
LINKS_CONF_OPT = --without-x
LINKS_DEPENDENCIES = host-pkg-config

ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
LINKS_CONF_OPT += --enable-graphics
LINKS_CONF_ENV = ac_cv_path_DIRECTFB_CONFIG=$(STAGING_DIR)/usr/bin/directfb-config
LINKS_DEPENDENCIES += directfb libpng
ifeq ($(BR2_PACKAGE_JPEG),y)
LINKS_DEPENDENCIES += jpeg
endif
ifeq ($(BR2_PACKAGE_TIFF),y)
LINKS_DEPENDENCIES += tiff
endif
endif

ifeq ($(BR2_PACKAGE_BZIP2),y)
LINKS_DEPENDENCIES += bzip2
endif

ifeq ($(BR2_PACKAGE_OPENSSL),y)
LINKS_DEPENDENCIES += openssl
endif

ifeq ($(BR2_PACKAGE_ZLIB),y)
LINKS_DEPENDENCIES += zlib
endif

$(eval $(call AUTOTARGETS))