wok-next view screen-pam/receipt @ rev 17759

hsetroot, wbar: link with libX11
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 08:31:24 2015 +0100 (2015-03-10)
parents 164fcaca1cd0
children 6c12ac1293fc
line source
1 # SliTaz package receipt.
3 PACKAGE="screen-pam"
4 VERSION="4.2.1"
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 ./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 $install/etc $fs
38 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
39 cp -a $install/usr/share/screen $fs/usr/share
40 }