wok view screen-pam/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
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 }