wok-6.x view screen-pam/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
parents | 820f3837a1a3 |
children | cbe6992bdda8 |
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"
17 SRC_WANTED="$SOURCE"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr --infodir=/usr/share/info --enable-pam \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install || return 1
27 mkdir -p _pkg/usr/share/terminfo
28 tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/share $fs/etc
35 cp $src/etc/screenrc $fs/etc
36 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
37 cp -a $_pkg/usr/share/screen $fs/usr/share
38 }