wok-next view screen/receipt @ rev 8980

Fix screen/screen-pam depends & config location
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 02 20:57:11 2011 +0100 (2011-03-02)
parents cbe6992bdda8
children 573a3ad4609a
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 DEPENDS="elfutils"
13 BUILD_DEPENDS="ncursesw-extra"
14 SUGGESTED="screen-terminfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --with-sys-screenrc=/etc/screenrc &&
21 make && make -j1 DESTDIR=$DESTDIR install || return 1
22 mkdir -p $DESTDIR/usr/share/terminfo
23 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
24 mkdir -p $DESTDIR/etc
25 cp $src/etc/screenrc $DESTDIR/etc
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/share
32 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
33 cp -a $_pkg/usr/share/screen $fs/usr/share
34 cp -a $_pkg/etc $fs
35 }