wok-current view screen/receipt @ rev 12714
Add: cross-x86_64-binutils
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat May 05 00:35:18 2012 +0200 (2012-05-05) |
parents | 573a3ad4609a |
children | b2a632fc9587 |
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 }