wok view screen-pam/receipt @ rev 15639

Down rack (1.3.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 20:33:37 2013 +0000 (2013-12-09)
parents 573a3ad4609a
children 91cb22c9c6aa
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 LICENSE="GPL2"
9 SOURCE="screen"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/screen"
12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
13 CONFIG_FILES="/etc/screenrc"
14 SUGGESTED="screen-terminfo"
15 PROVIDE="screen:pam"
17 DEPENDS="pam elfutils"
18 BUILD_DEPENDS="ncursesw-extra"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --with-sys-screenrc=/etc/screenrc \
25 --enable-pam $CONFIGURE_ARGS &&
26 make &&
27 make -j1 DESTDIR=$DESTDIR install &&
28 mkdir -p $DESTDIR/usr/share/terminfo &&
29 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
30 mkdir -p $DESTDIR/etc &&
31 cp -a $src/etc/screenrc $DESTDIR/etc
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin $fs/usr/share
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
40 cp -a $install/usr/share/screen $fs/usr/share
41 }