pkg-perl: set PERL_USE_UNSAFE_INC
[buildroot-gz.git] / package / x11vnc / x11vnc.mk
blobcdb323788c65018cacddf0d97d8e03f2ce34be28
1 ################################################################################
3 # x11vnc
5 ################################################################################
7 X11VNC_VERSION = 0.9.13
8 X11VNC_SITE = http://downloads.sourceforge.net/project/libvncserver/x11vnc/$(X11VNC_VERSION)
9 # sdl support is not used in x11vnc, but host include / library search paths
10 # leak in if host has sdl-config
11 X11VNC_CONF_OPTS = --without-sdl
12 X11VNC_DEPENDENCIES = xlib_libXt xlib_libXext xlib_libXtst
13 X11VNC_LICENSE = GPLv2+
14 X11VNC_LICENSE_FILES = COPYING
16 ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy)
17 X11VNC_DEPENDENCIES += avahi dbus
18 else
19 X11VNC_CONF_OPTS += --without-avahi
20 endif
22 ifeq ($(BR2_PACKAGE_JPEG),y)
23 X11VNC_DEPENDENCIES += jpeg
24 else
25 X11VNC_CONF_OPTS += --without-jpeg
26 endif
28 ifeq ($(BR2_PACKAGE_OPENSSL),y)
29 X11VNC_DEPENDENCIES += openssl
30 else
31 X11VNC_CONF_OPTS += --without-ssl --without-crypto
32 endif
34 ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
35 X11VNC_DEPENDENCIES += xlib_libXinerama
36 else
37 X11VNC_CONF_OPTS += --without-xinerama
38 endif
40 ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
41 X11VNC_DEPENDENCIES += xlib_libXrandr
42 else
43 X11VNC_CONF_OPTS += --without-xrandr
44 endif
46 ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
47 X11VNC_DEPENDENCIES += xlib_libXfixes
48 else
49 X11VNC_CONF_OPTS += --without-xfixes
50 endif
52 ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y)
53 X11VNC_DEPENDENCIES += xlib_libXdamage
54 else
55 X11VNC_CONF_OPTS += --without-xdamage
56 endif
58 ifeq ($(BR2_PACKAGE_ZLIB),y)
59 X11VNC_DEPENDENCIES += zlib
60 else
61 X11VNC_CONF_OPTS += --without-zlib
62 endif
65 $(eval $(autotools-package))