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.

58 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.6.2
  10. PKG_RELEASE:=3
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@GNU/screen
  13. PKG_HASH:=1b6922520e6a0ce5e28768d620b0f640a6631397f95ccb043b70b91bb503fa3a
  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_FIXUP:=autoreconf
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/screen
  23. SECTION:=utils
  24. CATEGORY:=Utilities
  25. SUBMENU:=Terminal
  26. DEPENDS:=+libncurses
  27. TITLE:=Full-screen terminal window manager
  28. URL:=https://www.gnu.org/software/screen/
  29. endef
  30. define Package/screen/description
  31. Screen is a full-screen window manager that multiplexes a physical
  32. terminal between several processes, typically interactive shells.
  33. endef
  34. CONFIGURE_ARGS += \
  35. --enable-colors256 \
  36. --with-sys-screenrc=/etc/screenrc
  37. define Package/screen/install
  38. $(INSTALL_DIR) $(1)/usr/sbin
  39. $(INSTALL_BIN) $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
  40. $(INSTALL_DIR) $(1)/etc
  41. $(INSTALL_DATA) ./files/etc/screenrc $(1)/etc/screenrc
  42. endef
  43. define Package/screen/conffiles
  44. /etc/screenrc
  45. endef
  46. $(eval $(call BuildPackage,screen))