packages/utils/screen/Makefile
hauke f31526fa07 screen: Update to version 4.2.1
This patch updates screen to version 4.2.1, released 2014/04/27.

Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@40607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-30 21:08:05 +00:00

53 lines
1.2 KiB
Makefile

#
# Copyright (C) 2006-2014 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.2.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/screen
PKG_MD5SUM:=419a0594e2b25039239af8b90eda7d92
include $(INCLUDE_DIR)/package.mk
define Package/screen
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libncurses
TITLE:=Full-screen terminal window manager
URL:=http://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
define Build/Configure
$(call Build/Configure/Default,\
--with-sys-screenrc=/etc/screenrc \
)
# XXX: memmove() works well with overlapped memory areas
echo "#define USEMEMMOVE 1" >>$(PKG_BUILD_DIR)/config.h
endef
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))