2002-05-23 21:21:23 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
2011-02-09 19:22:40 +01:00
|
|
|
# links
|
2002-05-23 21:21:23 +02:00
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-12-03 05:46:11 +01:00
|
|
|
LINKS_VERSION = 2.7
|
2011-02-09 19:22:40 +01:00
|
|
|
LINKS_SITE = http://links.twibright.com/download
|
2012-10-22 17:47:52 +02:00
|
|
|
LINKS_DEPENDENCIES = host-pkgconf
|
2012-12-03 05:46:11 +01:00
|
|
|
LINKS_LICNSE = GPLv2+
|
|
|
|
LINKS_LICENSE_FILES = COPYING
|
2002-05-23 21:21:23 +02:00
|
|
|
|
2011-02-09 19:22:40 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
|
|
|
|
LINKS_CONF_OPT += --enable-graphics
|
2012-10-15 08:44:58 +02:00
|
|
|
LINKS_DEPENDENCIES += libpng
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y)
|
|
|
|
LINKS_CONF_OPT += --with-x
|
|
|
|
LINKS_DEPENDENCIES += xlib_libXt
|
|
|
|
else
|
|
|
|
LINKS_CONF_OPT += --without-x
|
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
|
2011-02-09 19:22:40 +01:00
|
|
|
LINKS_CONF_ENV = ac_cv_path_DIRECTFB_CONFIG=$(STAGING_DIR)/usr/bin/directfb-config
|
2012-10-15 08:44:58 +02:00
|
|
|
LINKS_CONF_OPT += --with-directfb
|
|
|
|
LINKS_DEPENDENCIES += directfb
|
|
|
|
else
|
|
|
|
LINKS_CONF_OPT += --without-directfb
|
|
|
|
endif
|
2011-02-09 19:22:40 +01:00
|
|
|
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
|
2002-05-23 21:21:23 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|