libunwind: update to 1.8.1
[openadk.git] / package / x11vnc / Makefile
blob7105c928e745a048d262bca571288ddcdf765bfe
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
6 PKG_NAME:= x11vnc
7 PKG_VERSION:= 0.9.16
8 PKG_RELEASE:= 1
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"
29 endif
31 AUTOTOOL_STYLE:= autoreconf
32 CONFIGURE_ARGS+= --without-ssl \
33 --without-crypto
35 x11vnc-install:
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