wok-undigest view screen/receipt @ rev 379
Add screen with vertical split
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 17 21:15:16 2011 +0200 (2011-08-17) |
parents | |
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 PATCH=http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
24 wget -P $SOURCES_REPOSITORY $PATCH
25 bzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -p1
26 ./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
27 make && make -j1 DESTDIR=$DESTDIR install || return 1
28 mkdir -p $DESTDIR/usr/share/terminfo
29 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
30 mkdir -p $DESTDIR/etc
31 cp $src/etc/screenrc $DESTDIR/etc
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin $fs/usr/share
38 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
39 cp -a $_pkg/usr/share/screen $fs/usr/share
40 cp -a $_pkg/etc $fs
41 }