0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-30 05:40:18 +00:00
Files
packages/utils/screen/Makefile
Konstantin Demin e1ebbcb24b screen: adjust with glibc and libcrypt-compat
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2025-07-14 10:40:15 +02:00

58 lines
1.4 KiB
Makefile

#
# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=screen
PKG_VERSION:=4.9.1
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/screen
PKG_HASH:=26cef3e3c42571c0d484ad6faf110c5c15091fbf872b06fa7aa4766c7405ac69
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:gnu:screen
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/screen
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Terminal
DEPENDS:= +USE_GLIBC:libcrypt-compat +libncurses
TITLE:=Full-screen terminal window manager
URL:=https://www.gnu.org/software/screen/
endef
define Package/screen/description
Screen is a full-screen window manager that multiplexes a physical
terminal between several processes, typically interactive shells.
endef
CONFIGURE_ARGS += \
--enable-colors256 \
--with-sys-screenrc=/etc/screenrc
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))