[PATCH] No LaTeX documentation for sane-backend package
[openwrt/svn-archive/archive.git] / libs / libvncserver / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=LibVNCServer
11 PKG_VERSION:=0.9.7
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/libvncserver
16 PKG_MD5SUM:=14af5bdae461df4666c18e5f83c150c4
17 PKG_FIXUP:=libtool
18
19 include $(INCLUDE_DIR)/package.mk
20 include $(INCLUDE_DIR)/nls.mk
21
22 PKG_INSTALL=1
23
24 define Package/libvncserver
25 SECTION:=libs
26 CATEGORY:=Libraries
27 DEPENDS:=+zlib $(ICONV_DEPENDS)
28 TITLE:=VNC Server Library
29 URL:=http://libvncserver.sourceforge.net/
30 endef
31
32 CONFIGURE_ARGS += \
33 --without-xkeyboard \
34 --without-xinerama \
35 --without-xrandr \
36 --without-xfixes \
37 --without-xdamage \
38 --without-xtrap \
39 --without-xrecord \
40 --without-fbpm \
41 --without-dpms \
42 --without-filetransfer \
43 --without-macosx-native \
44 --without-ssl \
45 --without-avahi
46
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/
52 endef
53
54 define Package/libvncserver/install
55 $(INSTALL_DIR) $(1)/usr/lib
56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/
57 endef
58
59 $(eval $(call BuildPackage,libvncserver))