wok-next view screen/receipt @ rev 8342

Fix: screen doesn't support DESTDIR environnment variable; fix bdep
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 02 05:33:44 2011 +0100 (2011-02-02)
parents 9503ee00896a
children 5a2ca8500e9a
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 BUILD_DEPENDS="ncursesw-extra"
13 SUGGESTED="screen-terminfo"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure && make && make -j1 DESTDIR=$DESTDIR install || return 1
20 mkdir -p _pkg/usr/share/terminfo
21 tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share $fs/etc
28 cp $src/etc/screenrc $fs/etc
29 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
30 cp -a $_pkg/usr/share/screen $fs/usr/share
31 }