diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-02-10 16:00:07 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-02-10 16:00:07 +0100 |
commit | 615ba54394649c1a83c6b9d5d06406ac86d7cac5 (patch) | |
tree | 563b71c70a1e9469ee7ba1170c6337b890b1e0e7 /package/libvncserver | |
parent | cda6b7fe0f6335d202bc797091c68a78278118f2 (diff) |
package: add libvncserver
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libvncserver')
-rw-r--r-- | package/libvncserver/Config.in | 6 | ||||
-rw-r--r-- | package/libvncserver/libvncserver.mk | 50 |
2 files changed, 56 insertions, 0 deletions
diff --git a/package/libvncserver/Config.in b/package/libvncserver/Config.in new file mode 100644 index 000000000..ff83e343d --- /dev/null +++ b/package/libvncserver/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBVNCSERVER + bool "libvncserver" + help + libvncserver is a VNC server/client library. + + http://libvncserver.sourceforge.net/ diff --git a/package/libvncserver/libvncserver.mk b/package/libvncserver/libvncserver.mk new file mode 100644 index 000000000..c98fba3db --- /dev/null +++ b/package/libvncserver/libvncserver.mk @@ -0,0 +1,50 @@ +############################################################# +# +# libvncserver +# +############################################################# + +LIBVNCSERVER_VERSION = 0.9.8.2 +LIBVNCSERVER_SOURCE = LibVNCServer-$(LIBVNCSERVER_VERSION).tar.gz +LIBVNCSERVER_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libvncserver/$(LIBVNCSERVER_VERSION) + +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) +LIBVNCSERVER_DEPENDENCIES += libgcrypt +else +LIBVNCSERVER_CONF_OPT += --without-gcrypt +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +LIBVNCSERVER_DEPENDENCIES += gnutls host-pkg-config +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 $(call AUTOTARGETS)) |