From: Florian Fainelli Date: Thu, 29 Oct 2009 18:17:51 +0000 (+0000) Subject: provide a screenrc (#5958) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a473ef1d3baeb89b41ef6e46d3bb527ca192fa3b;p=openwrt%2Fsvn-archive%2Fpackages.git provide a screenrc (#5958) SVN-Revision: 18210 --- diff --git a/utils/screen/Makefile b/utils/screen/Makefile index c308ad6a0..97a53b6de 100644 --- a/utils/screen/Makefile +++ b/utils/screen/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=screen PKG_VERSION:=4.0.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://ftp.uni-erlangen.de/pub/utilities/screen \ @@ -32,7 +32,8 @@ define Package/screen/description endef define Build/Configure - $(call Build/Configure/Default,,\ + $(call Build/Configure/Default,\ + --with-sys-screenrc=/etc/screenrc,\ LIBS="-lcrypt" \ ) endef @@ -40,6 +41,8 @@ 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 $(eval $(call BuildPackage,screen)) diff --git a/utils/screen/files/etc/screenrc b/utils/screen/files/etc/screenrc new file mode 100644 index 000000000..33376745b --- /dev/null +++ b/utils/screen/files/etc/screenrc @@ -0,0 +1 @@ +startup_message off