wok-stable view screen/receipt @ rev 11155

Up: libtorrent to 0.12.9.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 02 06:37:35 2011 +0000 (2011-11-02)
parents 573a3ad4609a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="screen"
4 VERSION="4.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/screen"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 CONFIG_FILES="/etc/screenrc"
12 SUGGESTED="screen-terminfo"
14 DEPENDS="elfutils"
15 BUILD_DEPENDS="ncursesw-extra"
17 # http://fungi.yuggoth.org/vsp4s/ Vertical split ^A V
18 PATCH=http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
25 wget -P $SOURCES_REPOSITORY $PATCH
26 bzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -p1
27 ./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
28 make && make -j1 DESTDIR=$DESTDIR install || return 1
29 mkdir -p $DESTDIR/usr/share/terminfo
30 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
31 mkdir -p $DESTDIR/etc
32 cp $src/etc/screenrc $DESTDIR/etc
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin $fs/usr/share
39 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
40 cp -a $_pkg/usr/share/screen $fs/usr/share
41 cp -a $_pkg/etc $fs
42 }