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.

45 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2022 OpenWrt.org
  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:=kitty-terminfo
  9. PKG_VERSION:=0.24.4
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_LICENSE:=GPL-3.0-or-later
  12. PKG_SOURCE:=kitty-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=https://codeload.github.com/kovidgoyal/kitty/tar.gz/v$(PKG_VERSION)?
  14. PKG_HASH:=e6619b635b5c9d6cebbba631a2175659698068ce1cd946732dc440b0f1c12ab3
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/kitty-$(PKG_VERSION)
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/kitty-terminfo
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. SUBMENU:=Terminal
  21. TITLE:=Terminfo for kitty, an OpenGL-based terminal emulator
  22. DEPENDS:=+libncurses
  23. URL:=https://sw.kovidgoyal.net/kitty/
  24. PKGARCH:=all
  25. endef
  26. define Build/Configure
  27. endef
  28. define Build/Compile
  29. endef
  30. define Package/kitty-terminfo/install
  31. $(INSTALL_DIR) $(1)/usr/share/terminfo
  32. tic -x -o $(1)/usr/share/terminfo $(PKG_BUILD_DIR)/terminfo/kitty.terminfo
  33. endef
  34. $(eval $(call BuildPackage,kitty-terminfo))