wok-current annotate screen-pam/receipt @ rev 9010
Fixed screen-pam.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 12:35:55 2011 +0000 (2011-03-03) |
parents | 441a612f852a |
children | 573a3ad4609a |
rev | line source |
---|---|
pascal@2221 | 1 # SliTaz package receipt. |
pascal@2221 | 2 |
pascal@2221 | 3 PACKAGE="screen-pam" |
pascal@2221 | 4 VERSION="4.0.3" |
pascal@2221 | 5 CATEGORY="system-tools" |
pascal@2221 | 6 SHORT_DESC="Terminal multiplexer with PAM support." |
pascal@2221 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2221 | 8 SOURCE="screen" |
pascal@2221 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2221 | 10 WEB_SITE="http://www.gnu.org/software/screen" |
pascal@2221 | 11 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
pascal@2221 | 12 CONFIG_FILES="/etc/screenrc" |
gokhlayeh@8980 | 13 DEPENDS="pam elfutils" |
gokhlayeh@8980 | 14 BUILD_DEPENDS="ncursesw-extra" |
pascal@2221 | 15 SUGGESTED="screen-terminfo" |
pascal@2221 | 16 PROVIDE="screen:pam" |
pascal@2221 | 17 |
pascal@2221 | 18 # Rules to configure and make the package. |
pascal@2221 | 19 compile_rules() |
pascal@2221 | 20 { |
pascal@2221 | 21 cd $src |
gokhlayeh@8980 | 22 ./configure --with-sys-screenrc=/etc/screenrc \ |
gokhlayeh@8980 | 23 --enable-pam && |
pascal@2221 | 24 make && |
gokhlayeh@8898 | 25 make -j1 DESTDIR=$DESTDIR install && |
gokhlayeh@8898 | 26 mkdir -p $DESTDIR/usr/share/terminfo && |
gokhlayeh@8898 | 27 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src && |
gokhlayeh@8898 | 28 mkdir -p $DESTDIR/etc && |
slaxemulator@9010 | 29 cp -a $src/etc/screenrc $DESTDIR/etc |
pascal@2221 | 30 } |
pascal@2221 | 31 |
pascal@2221 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2221 | 33 genpkg_rules() |
pascal@2221 | 34 { |
gokhlayeh@8898 | 35 mkdir -p $fs/usr/bin $fs/usr/share |
slaxemulator@9010 | 36 cp -a $_pkg/etc $fs |
pascal@2221 | 37 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen |
pascal@2221 | 38 cp -a $_pkg/usr/share/screen $fs/usr/share |
pascal@2221 | 39 } |
pascal@2221 | 40 |