Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= x11vnc
  5. PKG_VERSION:= 0.9.13
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 4c9af4437123ca1d65498a00b70a7a186972a21f14c8b3cc905b9f5d1705142c
  8. PKG_DESCR:= vnc server for x11 displays
  9. PKG_SECTION:= x11/apps
  10. PKG_BUILDDEP:= libX11 libXtst libjpeg-turbo
  11. PKG_URL:= http://www.karlrunge.com/x11vnc/
  12. PKG_SITES:= http://sourceforge.net/projects/libvncserver/files/x11vnc/0.9.13/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,X11VNC,x11vnc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
  17. MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} -static" \
  18. LIBS="-lxcb -lXau -lXdmcp -ldl -pthread -ljpeg -lz"
  19. endif
  20. CONFIGURE_ARGS+= --without-ssl
  21. x11vnc-install:
  22. $(INSTALL_DIR) $(IDIR_X11VNC)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/x11vnc \
  24. $(IDIR_X11VNC)/usr/bin
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk