wok-6.x annotate screen/receipt @ rev 17297

.hgignore: fix ignore rules
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 30 10:25:56 2014 +0200 (2014-10-30)
parents b2a632fc9587
children 91cb22c9c6aa
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@15002 8 LICENSE="GPL2"
pascal@901 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@901 10 WEB_SITE="http://www.gnu.org/software/screen"
pascal@901 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@2173 12 CONFIG_FILES="/etc/screenrc"
slaxemulator@10341 13 SUGGESTED="screen-terminfo"
slaxemulator@10341 14
gokhlayeh@8980 15 DEPENDS="elfutils"
gokhlayeh@8342 16 BUILD_DEPENDS="ncursesw-extra"
pascal@901 17
pascal@10928 18 # http://fungi.yuggoth.org/vsp4s/ Vertical split ^A V
pascal@10928 19 PATCH=http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2
pascal@14337 20 EXTRA_SOURCE_FILES="$PATCH"
pascal@10928 21
pascal@901 22 # Rules to configure and make the package.
pascal@901 23 compile_rules()
pascal@901 24 {
pascal@901 25 cd $src
pascal@10928 26 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
pascal@10928 27 wget -P $SOURCES_REPOSITORY $PATCH
pascal@10928 28 bzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -p1
slaxemulator@10341 29 ./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
gokhlayeh@8980 30 make && make -j1 DESTDIR=$DESTDIR install || return 1
slaxemulator@8540 31 mkdir -p $DESTDIR/usr/share/terminfo
slaxemulator@8540 32 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
slaxemulator@8540 33 mkdir -p $DESTDIR/etc
slaxemulator@8540 34 cp $src/etc/screenrc $DESTDIR/etc
pascal@901 35 }
pascal@901 36
pascal@901 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@901 38 genpkg_rules()
pascal@901 39 {
slaxemulator@8540 40 mkdir -p $fs/usr/bin $fs/usr/share
pascal@15002 41 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
pascal@15002 42 cp -a $install/usr/share/screen $fs/usr/share
pascal@15002 43 cp -a $install/etc $fs
pascal@901 44 }
pascal@901 45