Makefile 935 B

1234567891011121314151617181920212223242526272829303132
  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.12
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1498a68d02aa7b6c97bf746c073c8d00
  8. PKG_DESCR:= VNC server for X11 displays
  9. PKG_SECTION:= x11/apps
  10. PKG_BUILDDEP:= libX11 libXtst jpeg
  11. PKG_URL:= http://www.karlrunge.com/x11vnc/
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,X11VNC,x11vnc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. ifeq ($(ADK_STATIC),y)
  16. MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} -static" \
  17. LIBS="-lxcb -lXau -lXdmcp -ldl -pthread -ljpeg -lz"
  18. endif
  19. CONFIGURE_ARGS+= --without-ssl
  20. x11vnc-install:
  21. $(INSTALL_DIR) $(IDIR_X11VNC)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/x11vnc \
  23. $(IDIR_X11VNC)/usr/bin
  24. include ${TOPDIR}/mk/pkg-bottom.mk