wok-4.x rev 2173

Screen: add config file
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 08 12:23:10 2009 +0000 (2009-02-08)
parents aef2848d6394
children e620297fff00
files screen/receipt
line diff
     1.1 --- a/screen/receipt	Sun Feb 08 12:14:21 2009 +0000
     1.2 +++ b/screen/receipt	Sun Feb 08 12:23:10 2009 +0000
     1.3 @@ -8,21 +8,23 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.gnu.org/software/screen"
     1.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     1.7 +CONFIG_FILES="/etc/screenrc"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12  	cd $src
    1.13  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.14 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.15 -	make
    1.16 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.17 +	make &&
    1.18  	make DESTDIR=$PWD/_pkg install
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/bin $fs/usr/share
    1.25 +	mkdir -p $fs/usr/bin $fs/usr/share $fs/etc
    1.26 +	cp $src/etc/screenrc $fs/etc
    1.27  	cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
    1.28  	cp -a $_pkg/usr/share/screen $fs/usr/share
    1.29