8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# libvncserver
|
|
#
|
|
################################################################################
|
|
|
|
LIBVNCSERVER_VERSION = 0.9.9
|
|
LIBVNCSERVER_SOURCE = LibVNCServer-$(LIBVNCSERVER_VERSION).tar.gz
|
|
LIBVNCSERVER_SITE = http://downloads.sourceforge.net/project/libvncserver/libvncserver/$(LIBVNCSERVER_VERSION)
|
|
LIBVNCSERVER_LICENSE = GPLv2+
|
|
LIBVNCSERVER_LICENSE_FILES = COPYING
|
|
LIBVNCSERVER_INSTALL_STAGING = YES
|
|
LIBVNCSERVER_CONFIG_SCRIPTS = libvncserver-config
|
|
|
|
# only used for examples
|
|
LIBVNCSERVER_CONF_OPT += --with-sdl-config=/bin/false
|
|
|
|
ifneq ($(BR2_INET_IPV6),y)
|
|
LIBVNCSERVER_CONF_OPT += --without-ipv6
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBVNCSERVER_DEPENDENCIES += openssl
|
|
else
|
|
LIBVNCSERVER_CONF_OPT += --without-crypto
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
|
LIBVNCSERVER_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
|
LIBVNCSERVER_DEPENDENCIES += libgcrypt
|
|
else
|
|
LIBVNCSERVER_CONF_OPT += --without-gcrypt
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
|
|
LIBVNCSERVER_DEPENDENCIES += gnutls host-pkgconf
|
|
else
|
|
LIBVNCSERVER_CONF_OPT += --without-gnutls
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
LIBVNCSERVER_DEPENDENCIES += jpeg
|
|
else
|
|
LIBVNCSERVER_CONF_OPT += --without-jpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
LIBVNCSERVER_DEPENDENCIES += zlib
|
|
else
|
|
LIBVNCSERVER_CONF_OPT += --without-zlib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|