add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / net / vnc-reflector / Makefile
1 #
2 # Copyright (C) 2006 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:=vnc-reflector
11 PKG_VERSION:=1.2.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=vnc_reflector-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/vnc-reflector
16 PKG_MD5SUM:=c3f88bc62f228b335c25c07f9744ab0c
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/vnc_reflector
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/vnc-reflector
23   SECTION:=net
24   CATEGORY:=Network
25   DEPENDS:=+libjpeg +zlib
26   TITLE:=VNC proxy for multiple clients
27   URL:=http://sourceforge.net/projects/vnc-reflector
28 endef
29
30 define Package/vnc-reflector/description
31         VNC Reflector is a specialized VNC server which acts as 
32         a proxy sitting between real VNC server (a host) and a 
33         number of VNC clients. It was designed to work efficiently 
34         with large number of clients.
35 endef
36
37 define Build/Compile
38         $(call Build/Compile/Default, \
39                 CC="$(TARGET_CC)" \
40                 OFLAGS="$(TARGET_CFLAGS)" \
41                 STAGING_DIR="$(STAGING_DIR)" \
42                 default \
43         )
44 endef
45
46 define Package/vnc-reflector/install    
47         $(INSTALL_DIR) $(1)/usr/sbin
48         $(INSTALL_BIN) $(PKG_BUILD_DIR)/vncreflector $(1)/usr/sbin/
49 endef
50
51 $(eval $(call BuildPackage,vnc-reflector))