wok-current view screen/receipt @ rev 15440
Up: ecore-dev (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:43 2013 +0100 (2013-11-05) |
parents | b2a632fc9587 |
children | 91cb22c9c6aa |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/screen"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/screenrc"
13 SUGGESTED="screen-terminfo"
15 DEPENDS="elfutils"
16 BUILD_DEPENDS="ncursesw-extra"
18 # http://fungi.yuggoth.org/vsp4s/ Vertical split ^A V
19 PATCH=http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2
20 EXTRA_SOURCE_FILES="$PATCH"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] ||
27 wget -P $SOURCES_REPOSITORY $PATCH
28 bzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -p1
29 ./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
30 make && make -j1 DESTDIR=$DESTDIR install || return 1
31 mkdir -p $DESTDIR/usr/share/terminfo
32 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
33 mkdir -p $DESTDIR/etc
34 cp $src/etc/screenrc $DESTDIR/etc
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin $fs/usr/share
41 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
42 cp -a $install/usr/share/screen $fs/usr/share
43 cp -a $install/etc $fs
44 }