1 # Copyright (C) 2009 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://sammy.net/~sammy/hacks
15 PKG_MD5SUM:=4342fadac30504c86c8db7beefe01995
17 include $(INCLUDE_DIR)/package.mk
22 SUBMENU:=Routing and Redirection
23 TITLE=Redirect TCP connections
24 URL:=http://sammy.net/~sammy/hacks
27 define Package/redir/description
28 A port redirector, used to forward incoming connections to somewhere else.
31 define Package/redir/install
32 $(INSTALL_DIR) $(1)/usr/bin
33 $(INSTALL_BIN) $(PKG_BUILD_DIR)/redir $(1)/usr/bin/
36 $(eval $(call BuildPackage,redir))