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
23 define Package/libvncserver
26 DEPENDS:=+zlib +libiconv
27 TITLE:=VNC Server Library
28 URL:=http://libvncserver.sourceforge.net/
41 --without-filetransfer \
42 --without-macosx-native \
46 define Build/InstallDev
47 $(INSTALL_DIR) $(1)/usr/{lib,include,bin}
48 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
49 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
50 $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
53 define Package/libvncserver/install
54 $(INSTALL_DIR) $(1)/usr/lib
55 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/
58 $(eval $(call BuildPackage,libvncserver))