florian 7e0ab188d9 Port vnc-reflector to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-10 22:08:41 +00:00

49 lines
1.2 KiB
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=vnc-reflector
PKG_VERSION:=1.2.4
PKG_RELEASE:=1
PKG_MD5SUM:=c3f88bc62f228b335c25c07f9744ab0c
PKG_SOURCE_URL:=@SF/vnc-reflector
PKG_SOURCE:=vnc_reflector-$(PKG_VERSION).tar.gz
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/vnc_reflector
include $(INCLUDE_DIR)/package.mk
define Package/vnc-reflector
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libjpeg
TITLE:=VNC proxy for multiple clients
DESCRIPTION:=VNC Reflector is a specialized VNC server which acts as\\\
a proxy sitting between real VNC server (a host) and a\\\
number of VNC clients. It was designed to work efficiently\\\
with large number of clients.\\\
URL:=http://sourceforge.net/projects/vnc-reflector
endef
define Build/Compile
$(call Build/Compile/Default,CC="$(TARGET_CC)" \
OFLAGS="$(TARGET_CFLAGS)" \
STAGING_DIR=$(STAGING_DIR) \
default)
endef
define Package/vnc-reflector/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/vncreflector $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,vnc-reflector))