2012-02-10 16:00:07 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libvncserver
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2013-01-28 08:42:30 +01:00
|
|
|
LIBVNCSERVER_VERSION = 0.9.9
|
2012-02-10 16:00:07 +01:00
|
|
|
LIBVNCSERVER_SOURCE = LibVNCServer-$(LIBVNCSERVER_VERSION).tar.gz
|
2012-08-26 01:52:48 +02:00
|
|
|
LIBVNCSERVER_SITE = http://downloads.sourceforge.net/project/libvncserver/libvncserver/$(LIBVNCSERVER_VERSION)
|
2013-01-28 08:42:30 +01:00
|
|
|
LIBVNCSERVER_LICENSE = GPLv2+
|
|
|
|
LIBVNCSERVER_LICENSE_FILES = COPYING
|
2012-02-10 16:00:07 +01:00
|
|
|
LIBVNCSERVER_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
# 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)
|
2012-02-13 11:26:42 +01:00
|
|
|
LIBVNCSERVER_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
2012-02-10 16:00:07 +01:00
|
|
|
LIBVNCSERVER_DEPENDENCIES += libgcrypt
|
|
|
|
else
|
|
|
|
LIBVNCSERVER_CONF_OPT += --without-gcrypt
|
|
|
|
endif
|
|
|
|
|
2013-02-05 23:09:44 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
|
2012-10-22 17:47:52 +02:00
|
|
|
LIBVNCSERVER_DEPENDENCIES += gnutls host-pkgconf
|
2012-02-10 16:00:07 +01:00
|
|
|
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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|