1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd
10 PKG_DESCR
:= vnc server for x11 displays
11 PKG_SECTION
:= x11
/apps
12 PKG_DEPENDS
:= libvncserver libpng libjpeg-turbo zlib liblzo
13 PKG_DEPENDS
+= libgnutls libxi libxdamage libxtst cairo
14 PKG_DEPENDS
+= libxfixes libxrandr
15 PKG_BUILDDEP
:= libX11 libXtst libjpeg-turbo libvncserver
16 PKG_URL
:= http
://www.karlrunge.com
/x11vnc
/
17 PKG_SITES
:= https
://github.com
/LibVNC
/x11vnc
/archive
/refs
/tags/
19 DISTFILES
:= ${PKG_VERSION}.
tar.gz
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call PKG_template
,X11VNC
,x11vnc
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 TARGET_LDFLAGS
+= -lssl
-lcrypto
26 ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY
),y
)
27 MAKE_FLAGS
+= CFLAGS
="${TARGET_CFLAGS} -static" \
28 LIBS
="-lxcb -lXau -lXdmcp -ldl -pthread -ljpeg -lz"
31 AUTOTOOL_STYLE
:= autoreconf
32 CONFIGURE_ARGS
+= --without-ssl \
36 $(INSTALL_DIR
) $(IDIR_X11VNC
)/usr
/bin
37 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/x11vnc \
38 $(IDIR_X11VNC
)/usr
/bin
40 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk