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
18 include $(INCLUDE_DIR)/package.mk
20 define Package/ser2net
23 TITLE:=Serial port TCP/IP redirector
24 URL:=http://sourceforge.net/projects/ser2net/
27 define Package/ser2net/description
28 This is ser2net, a program for allowing network connections to serial ports.
29 See the man page for information about using the program. Note that ser2net
30 supports RFC 2217 (remote control of serial port parameters), but you must
31 have a complient client.
34 define Package/ser2net/conffiles
41 $(MAKE) -C $(PKG_BUILD_DIR) \
42 DESTDIR="$(PKG_INSTALL_DIR)" \
46 define Package/ser2net/install
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ser2net $(1)/usr/sbin/
49 $(INSTALL_DIR) $(1)/etc
50 $(INSTALL_CONF) $(PKG_BUILD_DIR)/ser2net.conf $(1)/etc/
53 $(eval $(call BuildPackage,ser2net))