2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.rit.edu
/~reh5586
/openwrt
/packages
/vncrepeater
/src
17 PKG_MD5SUM
:=5951740a8a103d7d9668558b3639c6c4
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/vncrepeater
29 TITLE
:=UltraVNC repeater for Linux
31 Viewer can be behind Nat router or directly connected to the internet
\\\
32 Instead of forwarding serveral ports
, you only need to forward
1 port
\\\
33 If the PC that runs the Repeater has access to the local DNS server
, \\\
34 you can use your local DNS names instead of
10.10.10.12.
\\\
35 This could be handy when you have a dynamic DHCP server allocating
\\\
36 ip adresses for your PC.
37 URL
:=http
://ultravnc.sourceforge.net
/addons
/repeater.html
40 define Package
/vncrepeater
/
45 $(call Build
/Compile
/Default
, \
46 CFLAGS
="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
47 STAGING_DIR
="$(STAGING_DIR)" \
52 define Package
/vncrepeater
/install
53 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
54 $(CP
) $(PKG_BUILD_DIR
)/repeater
$(1)/usr
/sbin
/$(PKG_NAME
)
55 $(INSTALL_DIR
) $(1)/etc
56 $(CP
) $(PKG_BUILD_DIR
)/uvncrepeater.ini
$(1)/etc
/vncrepeater.conf
57 $(INSTALL_DIR
) $(1)/etc
/init.d
58 $(CP
) $(PKG_BUILD_DIR
)/S60vncrepeater
$(1)/etc
/init.d
/
61 $(eval
$(call BuildPackage
,vncrepeater
))