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.

56 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.3.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@GNU/screen
  13. PKG_MD5SUM:=5bb3b0ff2674e29378c31ad3411170ad
  14. PKG_LICENSE:=GPL-3.0+
  15. PKG_LICENSE_FILES:=
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/screen
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. DEPENDS:=+libncurses
  21. TITLE:=Full-screen terminal window manager
  22. URL:=http://www.gnu.org/software/screen/
  23. MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
  24. endef
  25. define Package/screen/description
  26. Screen is a full-screen window manager that multiplexes a physical
  27. terminal between several processes, typically interactive shells.
  28. endef
  29. define Build/Configure
  30. $(call Build/Configure/Default,\
  31. --with-sys-screenrc=/etc/screenrc \
  32. )
  33. # XXX: memmove() works well with overlapped memory areas
  34. echo "#define USEMEMMOVE 1" >>$(PKG_BUILD_DIR)/config.h
  35. endef
  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))