2006-08-11 16:46:04 +00:00
|
|
|
#
|
2014-03-08 00:57:52 +00:00
|
|
|
# Copyright (C) 2006-2014 OpenWrt.org
|
2006-08-11 16:46:04 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=vncrepeater
|
|
|
|
PKG_VERSION:=0.12
|
2014-03-08 00:57:52 +00:00
|
|
|
PKG_RELEASE:=4
|
2006-08-11 16:46:04 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.rit.edu/~reh5586/openwrt/packages/vncrepeater/src
|
|
|
|
PKG_MD5SUM:=5951740a8a103d7d9668558b3639c6c4
|
2006-08-11 16:46:04 +00:00
|
|
|
|
2010-10-09 16:29:20 +00:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
|
2012-08-04 17:02:08 +00:00
|
|
|
include $(INCLUDE_DIR)/uclibc++.mk
|
2006-08-11 16:46:04 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/vncrepeater
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2012-08-04 17:02:08 +00:00
|
|
|
DEPENDS:=$(CXX_DEPENDS)
|
2006-08-11 16:46:04 +00:00
|
|
|
TITLE:=UltraVNC repeater for Linux
|
2009-06-13 17:01:55 +00:00
|
|
|
URL:=http://www.uvnc.com/addons/repeater.html
|
2006-08-11 16:46:04 +00:00
|
|
|
endef
|
|
|
|
|
2007-09-03 15:58:55 +00:00
|
|
|
define Package/vncrepeater/conffiles
|
2006-08-11 16:46:04 +00:00
|
|
|
/etc/vncrepeater.conf
|
|
|
|
endef
|
|
|
|
|
2007-09-03 15:58:55 +00:00
|
|
|
define Package/vncrepeater/description
|
2014-03-27 07:04:54 +00:00
|
|
|
Viewer can be behind Nat router or directly connected to the internet
|
|
|
|
instead of forwarding serveral ports, you only need to forward 1 port.
|
|
|
|
If the PC that runs the Repeater has access to the local DNS server,
|
2007-09-03 15:58:55 +00:00
|
|
|
you can use your local DNS names instead of 10.10.10.12.
|
2014-03-27 07:04:54 +00:00
|
|
|
This could be handy when you have a dynamic DHCP server allocating
|
2007-09-03 15:58:55 +00:00
|
|
|
ip adresses for your PC.
|
|
|
|
endef
|
|
|
|
|
2006-08-11 16:46:04 +00:00
|
|
|
define Build/Compile
|
2006-10-30 13:51:50 +00:00
|
|
|
$(call Build/Compile/Default, \
|
2012-08-04 17:02:08 +00:00
|
|
|
CC="$(TARGET_CXX)" \
|
2014-03-08 00:57:52 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fno-rtti" \
|
2006-10-30 13:51:50 +00:00
|
|
|
repeater \
|
|
|
|
)
|
2006-08-11 16:46:04 +00:00
|
|
|
endef
|
|
|
|
|
2014-03-27 07:04:54 +00:00
|
|
|
define Package/vncrepeater/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc
|
2006-08-11 16:46:04 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/repeater $(1)/usr/sbin/$(PKG_NAME)
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc
|
2006-08-11 16:46:04 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/uvncrepeater.ini $(1)/etc/vncrepeater.conf
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,vncrepeater))
|