add missing dependency
[openwrt/svn-archive/archive.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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=vnc-reflector
12 PKG_VERSION:=1.2.4
13 PKG_RELEASE:=1
14 PKG_MD5SUM:=c3f88bc62f228b335c25c07f9744ab0c
15
16 PKG_SOURCE_URL:=@SF/vnc-reflector
17 PKG_SOURCE:=vnc_reflector-$(PKG_VERSION).tar.gz
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/vnc_reflector
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/vnc-reflector
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+libjpeg +zlib
28 TITLE:=VNC proxy for multiple clients
29 DESCRIPTION:=VNC Reflector is a specialized VNC server which acts as\\\
30 a proxy sitting between real VNC server (a host) and a\\\
31 number of VNC clients. It was designed to work efficiently\\\
32 with large number of clients.\\\
33 URL:=http://sourceforge.net/projects/vnc-reflector
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/Default,CC="$(TARGET_CC)" \
38 OFLAGS="$(TARGET_CFLAGS)" \
39 STAGING_DIR=$(STAGING_DIR) \
40 default)
41 endef
42
43 define Package/vnc-reflector/install
44 install -d -m0755 $(1)/usr/sbin
45 install -m0755 $(PKG_BUILD_DIR)/vncreflector $(1)/usr/sbin/
46 endef
47
48 $(eval $(call BuildPackage,vnc-reflector))