From 826364db3e557a7a10cde796bb57e1f12f353927 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Fri, 18 Jul 2014 18:09:19 +0200 Subject: [PATCH] Add Serial Console, a compact serial access program. http://serialconsole.sourceforge.net Signed-off-by: Stefan Bethke --- utils/serialconsole/Makefile | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 utils/serialconsole/Makefile diff --git a/utils/serialconsole/Makefile b/utils/serialconsole/Makefile new file mode 100644 index 0000000000..fa336ac636 --- /dev/null +++ b/utils/serialconsole/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=sc +PKG_VERSION:=0.95 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/serialconsole/sc +PKG_MD5SUM:=4fe58576a5bddb9f1fb3dcfc6410b885 +PKG_MAINTAINER:=Stefan Bethke + +PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/serialconsole + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Serial Console - minimal terminal program + URL:=http://sourceforge.net/projects/serialconsole/ +endef + +define Package/serialconsole/description +serialconsole (sc) is a minimal terminal program allowing to use one machine +to access the serial console of another machine. +endef + +define Package/serialconsole/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/sc $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,serialconsole))