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

slang*: fix receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 18 12:36:22 2011 +0200 (2011-05-18)
parents 441a612f852a
children 573a3ad4609a
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 DEPENDS="pam elfutils"
14 BUILD_DEPENDS="ncursesw-extra"
15 SUGGESTED="screen-terminfo"
16 PROVIDE="screen:pam"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --with-sys-screenrc=/etc/screenrc \
23 --enable-pam &&
24 make &&
25 make -j1 DESTDIR=$DESTDIR install &&
26 mkdir -p $DESTDIR/usr/share/terminfo &&
27 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
28 mkdir -p $DESTDIR/etc &&
29 cp -a $src/etc/screenrc $DESTDIR/etc
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/share
36 cp -a $_pkg/etc $fs
37 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
38 cp -a $_pkg/usr/share/screen $fs/usr/share
39 }