wok-stable annotate screen/receipt @ 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 45875c9c404f
children e620297fff00
rev   line source
pascal@901 1 # SliTaz package receipt.
pascal@901 2
pascal@901 3 PACKAGE="screen"
pascal@901 4 VERSION="4.0.2"
pascal@901 5 CATEGORY="system-tools"
pascal@901 6 SHORT_DESC="Terminal multiplexer."
pascal@901 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@901 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@901 9 WEB_SITE="http://www.gnu.org/software/screen"
pascal@901 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@2173 11 CONFIG_FILES="/etc/screenrc"
pascal@901 12
pascal@901 13 # Rules to configure and make the package.
pascal@901 14 compile_rules()
pascal@901 15 {
pascal@901 16 cd $src
pascal@901 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2173 18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2173 19 make &&
pascal@901 20 make DESTDIR=$PWD/_pkg install
pascal@901 21 }
pascal@901 22
pascal@901 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@901 24 genpkg_rules()
pascal@901 25 {
pascal@2173 26 mkdir -p $fs/usr/bin $fs/usr/share $fs/etc
pascal@2173 27 cp $src/etc/screenrc $fs/etc
pascal@901 28 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
pascal@901 29 cp -a $_pkg/usr/share/screen $fs/usr/share
pascal@901 30
pascal@901 31 }
pascal@901 32