Makefile 1.0 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= x11vnc
  5. PKG_VERSION:= 0.9.13
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a372ec4fe8211221547b1c108cf56e4c
  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 $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,X11VNC,x11vnc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. ifeq ($(ADK_STATIC),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 ${TOPDIR}/mk/pkg-bottom.mk