From 17473574aeae9a2c9571e21e0ac22e45e86a2ce5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 28 Apr 2011 21:54:47 +0200 Subject: add new package x11vnc --- package/x11vnc/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/x11vnc/Makefile (limited to 'package/x11vnc') diff --git a/package/x11vnc/Makefile b/package/x11vnc/Makefile new file mode 100644 index 000000000..e6649892d --- /dev/null +++ b/package/x11vnc/Makefile @@ -0,0 +1,27 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= x11vnc +PKG_VERSION:= 0.9.12 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 1498a68d02aa7b6c97bf746c073c8d00 +PKG_DESCR:= VNC server for X11 displays +PKG_SECTION:= x11/apps +PKG_BUILDDEP:= libX11 libXtst +PKG_URL:= http://www.karlrunge.com/x11vnc/ +PKG_SITES:= http://openadk.org/distfiles/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,X11VNC,x11vnc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --without-ssl + +x11vnc-install: + $(INSTALL_DIR) $(IDIR_X11VNC)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/x11vnc \ + $(IDIR_X11VNC)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 023429a695e318bdbceef0ce5903060d361e15b2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 29 Apr 2011 08:41:13 +0200 Subject: static linking is very package dependent, so do not handle it globally --- package/x11vnc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/x11vnc') diff --git a/package/x11vnc/Makefile b/package/x11vnc/Makefile index e6649892d..74e01e1f7 100644 --- a/package/x11vnc/Makefile +++ b/package/x11vnc/Makefile @@ -17,6 +17,11 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,X11VNC,x11vnc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +ifeq ($(ADK_STATIC),y) +MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} -static" \ + LIBS="-lxcb -lXau -lXdmcp -ldl -pthread -ljpeg -lz" +endif + CONFIGURE_ARGS+= --without-ssl x11vnc-install: -- cgit v1.2.3