wok-6.x view screen/receipt @ rev 14618

mc: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jun 01 09:59:57 2013 +0000 (2013-06-01)
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 }