Makefile (1259B)
1 # 2 # Copyright (C) 2006-2016 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:=3.4 12 PKG_RELEASE:=1 13 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 15 PKG_SOURCE_URL:=@SF/ser2net 16 PKG_MD5SUM:=562274d783534276a9feac913b7d8c4e 17 PKG_HASH:=d846066e27c3072565990745d030357aa0c278f96b7d1d4f59023347c1db8824 18 19 PKG_LICENSE:=GPL-2.0+ 20 PKG_LICENSE_FILES:=COPYING 21 PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de> 22 23 PKG_FIXUP:=autoreconf 24 PKG_INSTALL:=1 25 26 include $(INCLUDE_DIR)/package.mk 27 28 define Package/ser2net 29 SECTION:=net 30 CATEGORY:=Network 31 TITLE:=Serial to Network Proxy 32 URL:=http://sourceforge.net/projects/ser2net/ 33 DEPENDS:=+USE_UCLIBC:libpthread +USE_UCLIBC:librt 34 endef 35 36 define Package/ser2net/description 37 This project provides a proxy that allows telnet/tcp connections to be made to 38 serial ports on a machine. 39 endef 40 41 define Package/ser2net/conffiles 42 /etc/ser2net.conf 43 endef 44 45 define Package/ser2net/install 46 $(INSTALL_DIR) $(1)/usr/sbin 47 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ser2net $(1)/usr/sbin/ 48 $(INSTALL_DIR) $(1)/etc 49 $(INSTALL_CONF) $(PKG_BUILD_DIR)/ser2net.conf $(1)/etc/ 50 endef 51 52 $(eval $(call BuildPackage,ser2net))