wok-current annotate screen/receipt @ rev 10928

screen: add vertical split
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 18 08:32:00 2011 +0200 (2011-08-18)
parents 573a3ad4609a
children b2a632fc9587
rev   line source
pascal@901 1 # SliTaz package receipt.
pascal@901 2
pascal@901 3 PACKAGE="screen"
pascal@2174 4 VERSION="4.0.3"
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"
slaxemulator@10341 12 SUGGESTED="screen-terminfo"
slaxemulator@10341 13
gokhlayeh@8980 14 DEPENDS="elfutils"
gokhlayeh@8342 15 BUILD_DEPENDS="ncursesw-extra"
pascal@901 16
pascal@10928 17 # http://fungi.yuggoth.org/vsp4s/ Vertical split ^A V
pascal@10928 18 PATCH=http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2
pascal@10928 19
pascal@901 20 # Rules to configure and make the package.
pascal@901 21 compile_rules()
pascal@901 22 {
pascal@901 23 cd $src
pascal@10928 24 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
pascal@10928 25 wget -P $SOURCES_REPOSITORY $PATCH
pascal@10928 26 bzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -p1
slaxemulator@10341 27 ./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
gokhlayeh@8980 28 make && make -j1 DESTDIR=$DESTDIR install || return 1
slaxemulator@8540 29 mkdir -p $DESTDIR/usr/share/terminfo
slaxemulator@8540 30 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
slaxemulator@8540 31 mkdir -p $DESTDIR/etc
slaxemulator@8540 32 cp $src/etc/screenrc $DESTDIR/etc
pascal@901 33 }
pascal@901 34
pascal@901 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@901 36 genpkg_rules()
pascal@901 37 {
slaxemulator@8540 38 mkdir -p $fs/usr/bin $fs/usr/share
pascal@901 39 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
pascal@901 40 cp -a $_pkg/usr/share/screen $fs/usr/share
gokhlayeh@8898 41 cp -a $_pkg/etc $fs
pascal@901 42 }
pascal@901 43