wok-6.x rev 2221
Add screen-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 12 09:30:15 2009 +0000 (2009-02-12) |
parents | e0f83290a5a4 |
children | 893010cb28ea |
files | screen-pam/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/screen-pam/receipt Thu Feb 12 09:30:15 2009 +0000 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="screen-pam" 1.7 +VERSION="4.0.3" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Terminal multiplexer with PAM support." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="screen" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.gnu.org/software/screen" 1.14 +WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 1.15 +CONFIG_FILES="/etc/screenrc" 1.16 +DEPENDS="pam" 1.17 +BUILD_DEPENDS="ncurses-extra pam pam-dev" 1.18 +SUGGESTED="screen-terminfo" 1.19 +PROVIDE="screen:pam" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cd $src 1.25 + ./configure --prefix=/usr --infodir=/usr/share/info --enable-pam \ 1.26 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.27 + make && 1.28 + make DESTDIR=$PWD/_pkg install || return 1 1.29 + mkdir -p _pkg/usr/share/terminfo 1.30 + tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/bin $fs/usr/share $fs/etc 1.37 + cp $src/etc/screenrc $fs/etc 1.38 + cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen 1.39 + cp -a $_pkg/usr/share/screen $fs/usr/share 1.40 + for i in $(cd $WOK; ls -d screen-*) 1.41 + do 1.42 + tazwok genpkg $i 1.43 + done 1.44 +} 1.45 +