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 TITLE=Redirect TCP connections
23 URL:=http://sammy.net/~sammy/hacks
26 define Package/redir/description
27 A port redirector, used to forward incoming connections to somewhere else.
30 define Package/redir/install
31 $(INSTALL_DIR) $(1)/usr/bin
32 $(INSTALL_BIN) $(PKG_BUILD_DIR)/redir $(1)/usr/bin/
35 $(eval $(call BuildPackage,redir))