[package] provide a screenrc (#5958)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18210 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
abeef72849
commit
2f937b2a71
@ -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))
|
||||
|
1
utils/screen/files/etc/screenrc
Normal file
1
utils/screen/files/etc/screenrc
Normal file
@ -0,0 +1 @@
|
||||
startup_message off
|
Loading…
x
Reference in New Issue
Block a user