2014-06-10 21:17:23 +00:00
|
|
|
#
|
2015-06-17 18:00:08 +00:00
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
2014-06-10 21:17:23 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=screen
|
2017-10-30 02:23:21 +00:00
|
|
|
PKG_VERSION:=4.6.2
|
2019-09-02 13:15:08 +00:00
|
|
|
PKG_RELEASE:=3
|
2014-06-10 21:17:23 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@GNU/screen
|
2019-01-30 20:37:32 +00:00
|
|
|
PKG_HASH:=1b6922520e6a0ce5e28768d620b0f640a6631397f95ccb043b70b91bb503fa3a
|
2014-06-10 21:17:23 +00:00
|
|
|
|
2019-01-30 20:37:32 +00:00
|
|
|
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
|
2019-09-02 13:15:08 +00:00
|
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
2019-01-30 20:37:32 +00:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2019-09-12 12:13:21 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:gnu:screen
|
2019-01-30 20:37:32 +00:00
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
PKG_INSTALL:=1
|
2014-06-10 21:29:59 +00:00
|
|
|
|
2014-06-10 21:17:23 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/screen
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2016-10-23 18:04:24 +00:00
|
|
|
SUBMENU:=Terminal
|
2014-06-10 21:17:23 +00:00
|
|
|
DEPENDS:=+libncurses
|
|
|
|
TITLE:=Full-screen terminal window manager
|
2019-01-30 20:37:32 +00:00
|
|
|
URL:=https://www.gnu.org/software/screen/
|
2014-06-10 21:17:23 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/screen/description
|
|
|
|
Screen is a full-screen window manager that multiplexes a physical
|
|
|
|
terminal between several processes, typically interactive shells.
|
|
|
|
endef
|
|
|
|
|
2019-01-30 20:37:32 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-colors256 \
|
|
|
|
--with-sys-screenrc=/etc/screenrc
|
2014-06-10 21:17:23 +00:00
|
|
|
|
|
|
|
define Package/screen/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_DATA) ./files/etc/screenrc $(1)/etc/screenrc
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/screen/conffiles
|
|
|
|
/etc/screenrc
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,screen))
|