2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=LibVNCServer
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/libvncserver
16 PKG_MD5SUM:=14af5bdae461df4666c18e5f83c150c4
19 include $(INCLUDE_DIR)/package.mk
20 include $(INCLUDE_DIR)/nls.mk
24 define Package/libvncserver
27 DEPENDS:=+zlib +libjpeg +libpthread $(ICONV_DEPENDS)
28 TITLE:=VNC Server Library
29 URL:=http://libvncserver.sourceforge.net/
42 --without-filetransfer \
43 --without-macosx-native \
47 define Build/InstallDev
48 $(INSTALL_DIR) $(1)/usr/{lib,include,bin}
49 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
50 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
51 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
54 define Package/libvncserver/install
55 $(INSTALL_DIR) $(1)/usr/lib
56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/
59 $(eval $(call BuildPackage,libvncserver))