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.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/ser2net
16 PKG_MD5SUM:=22977477789868923a5de09a85e847dd
20 include $(INCLUDE_DIR)/package.mk
22 define Package/ser2net
25 TITLE:=Serial port TCP/IP redirector
26 URL:=http://sourceforge.net/projects/ser2net/
29 define Package/ser2net/description
30 This is ser2net, a program for allowing network connections to serial ports.
31 See the man page for information about using the program. Note that ser2net
32 supports RFC 2217 (remote control of serial port parameters), but you must
33 have a complient client.
36 define Package/ser2net/conffiles
42 define Package/ser2net/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ser2net $(1)/usr/sbin/
45 $(INSTALL_DIR) $(1)/etc
46 $(INSTALL_CONF) $(PKG_BUILD_DIR)/ser2net.conf $(1)/etc/
49 $(eval $(call BuildPackage,ser2net))