Add Serial Console, a compact serial access program. 104/head
authorStefan Bethke <stb@localhost.localdomain>
Fri, 18 Jul 2014 16:09:19 +0000 (18:09 +0200)
committerStefan Bethke <stb@localhost.localdomain>
Fri, 18 Jul 2014 16:09:19 +0000 (18:09 +0200)
http://serialconsole.sourceforge.net

Signed-off-by: Stefan Bethke <stb@lassitu.de>
utils/serialconsole/Makefile [new file with mode: 0644]

diff --git a/utils/serialconsole/Makefile b/utils/serialconsole/Makefile
new file mode 100644 (file)
index 0000000..fa336ac
--- /dev/null
@@ -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 <stb@lassitu.de>
+
+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))