wok-current view screen-pam/receipt @ rev 5146

get-virtualbox: Fix depends.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Mar 23 23:32:34 2010 +0100 (2010-03-23)
parents 254a44e9a5b4
children 9689c3977b8c
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"
14 BUILD_DEPENDS="ncurses-extra pam pam-dev"
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 --prefix=/usr --infodir=/usr/share/info --enable-pam \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install || return 1
26 mkdir -p _pkg/usr/share/terminfo
27 tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/share $fs/etc
34 cp $src/etc/screenrc $fs/etc
35 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
36 cp -a $_pkg/usr/share/screen $fs/usr/share
37 }