wok-current view screen-pam/receipt @ rev 8917
iproute2: add flex in BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 18:05:18 2011 +0100 (2011-02-28) |
parents | 9689c3977b8c |
children | 129bb5b11a7e bdfc447d18ac |
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="ncursesw-extra pam pam-dev"
15 SUGGESTED="screen-terminfo"
16 PROVIDE="screen:pam"
17 SRC_WANTED="$SOURCE"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --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 $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 $_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 }