wok view screen-pam/receipt @ rev 11714
R: Fix missing dep (Thanks moulefrite)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 19 22:08:06 2012 +0100 (2012-02-19) |
parents | f73516f45a90 |
children | 164fcaca1cd0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="screen-pam"
4 VERSION="4.0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Terminal multiplexer with PAM support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="screen"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/screen"
11 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
12 CONFIG_FILES="/etc/screenrc"
13 SUGGESTED="screen-terminfo"
14 PROVIDE="screen:pam"
16 DEPENDS="pam elfutils"
17 BUILD_DEPENDS="ncursesw-extra"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --with-sys-screenrc=/etc/screenrc \
24 --enable-pam $CONFIGURE_ARGS &&
25 make &&
26 make -j1 DESTDIR=$DESTDIR install &&
27 mkdir -p $DESTDIR/usr/share/terminfo &&
28 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
29 mkdir -p $DESTDIR/etc &&
30 cp -a $src/etc/screenrc $DESTDIR/etc
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin $fs/usr/share
37 cp -a $_pkg/etc $fs
38 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
39 cp -a $_pkg/usr/share/screen $fs/usr/share
40 }