[packages] ipv6calc: update to v0.82.1, fixes claring of "valid" flag on mips platforms
[openwrt/svn-archive/archive.git] / net / ser2net / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ser2net
11 PKG_VERSION:=2.7
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/ser2net
16 PKG_MD5SUM:=22977477789868923a5de09a85e847dd
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/ser2net
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=Serial port TCP/IP redirector
27 URL:=http://sourceforge.net/projects/ser2net/
28 endef
29
30 define Package/ser2net/description
31 This is ser2net, a program for allowing network connections to serial ports.
32 See the man page for information about using the program. Note that ser2net
33 supports RFC 2217 (remote control of serial port parameters), but you must
34 have a complient client.
35 endef
36
37 define Package/ser2net/conffiles
38 /etc/ser2net.conf
39 endef
40
41 # uses GNU configure
42
43 define Package/ser2net/install
44 $(INSTALL_DIR) $(1)/usr/sbin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ser2net $(1)/usr/sbin/
46 $(INSTALL_DIR) $(1)/etc
47 $(INSTALL_CONF) $(PKG_BUILD_DIR)/ser2net.conf $(1)/etc/
48 endef
49
50 $(eval $(call BuildPackage,ser2net))