You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1012 B

  1. #
  2. # Copyright (C) 2017-2018 Daniel Engberg <daniel.engberg.lists@pyret.net>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=tio
  9. PKG_VERSION:=1.29
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=
  12. PKG_LICENSE:=GPL-2.0+
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/
  15. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  16. PKG_HASH:=371a11b69dd2e1b1af3ca2a1c570408b1452ae4523fe954d250f04b6b2147d23
  17. PKG_FIXUP:=autoreconf
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/tio
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. TITLE:=A simple TTY terminal I/O application
  23. URL:=https://tio.github.io/
  24. SUBMENU:=Terminal
  25. endef
  26. define Package/tio/description
  27. A small and simple TTY terminal I/O application
  28. endef
  29. define Package/tio/install
  30. $(INSTALL_DIR) $(1)/usr/sbin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tio $(1)/usr/sbin/
  32. endef
  33. $(eval $(call BuildPackage,tio))