2006-08-08 09:38:23 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 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
|
2007-06-11 08:21:17 +00:00
|
|
|
PKG_VERSION:=4.0.3
|
2009-10-29 18:17:51 +00:00
|
|
|
PKG_RELEASE:=2
|
2006-08-08 09:38:23 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2007-06-11 08:21:17 +00:00
|
|
|
PKG_SOURCE_URL:=ftp://ftp.uni-erlangen.de/pub/utilities/screen \
|
|
|
|
@GNU/screen
|
|
|
|
PKG_MD5SUM:=8506fd205028a96c741e4037de6e3c42
|
2006-08-08 09:38:23 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/screen/description
|
|
|
|
Screen is a full-screen window manager that multiplexes a physical
|
|
|
|
terminal between several processes, typically interactive shells.
|
|
|
|
endef
|
|
|
|
|
2007-06-11 08:21:17 +00:00
|
|
|
define Build/Configure
|
2009-10-29 18:17:51 +00:00
|
|
|
$(call Build/Configure/Default,\
|
|
|
|
--with-sys-screenrc=/etc/screenrc,\
|
2007-06-11 08:21:17 +00:00
|
|
|
LIBS="-lcrypt" \
|
|
|
|
)
|
|
|
|
endef
|
2006-08-08 09:38:23 +00:00
|
|
|
|
|
|
|
define Package/screen/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
|
2009-10-29 18:17:51 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_DATA) ./files/etc/screenrc $(1)/etc/screenrc
|
2006-08-08 09:38:23 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,screen))
|