tio: Add to tree
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Mon, 6 Nov 2017 21:09:26 +0000 (22:09 +0100)
committerDaniel Engberg <daniel.engberg.lists@pyret.net>
Mon, 6 Nov 2017 21:36:03 +0000 (22:36 +0100)
tio is a simple TTY terminal I/O application

It's smaller than picocom, uses GNU autotools and has some nice features

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
utils/tio/Makefile [new file with mode: 0644]

diff --git a/utils/tio/Makefile b/utils/tio/Makefile
new file mode 100644 (file)
index 0000000..9d67dcd
--- /dev/null
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2017 Daniel Engberg <daniel.engberg.lists@pyret.net>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=tio
+PKG_VERSION:=1.26
+PKG_RELEASE:=1
+PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
+PKG_LICENSE:=GPL-2.0+
+PKG_LICENSE_FILES:=COPYING
+
+PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_HASH:=f9532d519fcc7d19b25fbe9fc1ee857dc10e5862a450b4b3b423f8e8538f2500
+
+PKG_FIXUP:=autoreconf
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/tio
+  SECTION:=utils
+  CATEGORY:=Utilities
+  TITLE:=A simple TTY terminal I/O application
+  URL:=https://tio.github.io/
+  SUBMENU:=Terminal
+endef
+
+define Package/tio/description
+  A small and simple TTY terminal I/O application
+endef
+
+define Package/tio/install
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tio $(1)/usr/sbin/
+endef
+
+$(eval $(call BuildPackage,tio))