wok view screen/receipt @ rev 14734
ntp: fix start script (thanks emgi)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 13 23:21:36 2013 +0200 (2013-06-13) |
parents | 731695dfaf97 |
children | 7896f0694ef6 |
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
19 EXTRA_SOURCE_FILES="$PATCH"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
26 wget -P $SOURCES_REPOSITORY $PATCH
27 bzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -p1
28 ./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
29 make && make -j1 DESTDIR=$DESTDIR install || return 1
30 mkdir -p $DESTDIR/usr/share/terminfo
31 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
32 mkdir -p $DESTDIR/etc
33 cp $src/etc/screenrc $DESTDIR/etc
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin $fs/usr/share
40 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
41 cp -a $_pkg/usr/share/screen $fs/usr/share
42 cp -a $_pkg/etc $fs
43 }