tio: Add to tree

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>
This commit is contained in:
Daniel Engberg 2017-11-06 22:09:26 +01:00
parent 288a54b17f
commit bc8c403919
1 changed files with 42 additions and 0 deletions

42
utils/tio/Makefile Normal file
View File

@ -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))