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.

57 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2006-2015 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:=screen
  9. PKG_VERSION:=4.8.0
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@GNU/screen
  13. PKG_HASH:=6e11b13d8489925fde25dfb0935bf6ed71f9eb47eff233a181e078fde5655aa1
  14. PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_CPE_ID:=cpe:/a:gnu:screen
  18. PKG_INSTALL:=1
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/screen
  22. SECTION:=utils
  23. CATEGORY:=Utilities
  24. SUBMENU:=Terminal
  25. DEPENDS:=+libncurses
  26. TITLE:=Full-screen terminal window manager
  27. URL:=https://www.gnu.org/software/screen/
  28. endef
  29. define Package/screen/description
  30. Screen is a full-screen window manager that multiplexes a physical
  31. terminal between several processes, typically interactive shells.
  32. endef
  33. CONFIGURE_ARGS += \
  34. --enable-colors256 \
  35. --with-sys-screenrc=/etc/screenrc
  36. define Package/screen/install
  37. $(INSTALL_DIR) $(1)/usr/sbin
  38. $(INSTALL_BIN) $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
  39. $(INSTALL_DIR) $(1)/etc
  40. $(INSTALL_DATA) ./files/etc/screenrc $(1)/etc/screenrc
  41. endef
  42. define Package/screen/conffiles
  43. /etc/screenrc
  44. endef
  45. $(eval $(call BuildPackage,screen))