wok-next annotate screen-pam/receipt @ rev 19709
Up at-spi2-atk, libpcap, nettle, readline, tiff, xcb-util* and 220 Perl packages (there are still about 20 left)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 11 02:23:02 2017 +0300 (2017-05-11) |
parents | 164fcaca1cd0 |
children | 6c12ac1293fc |
rev | line source |
---|---|
pascal@2221 | 1 # SliTaz package receipt. |
pascal@2221 | 2 |
pascal@2221 | 3 PACKAGE="screen-pam" |
pascal@17515 | 4 VERSION="4.2.1" |
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@15587 | 8 LICENSE="GPL2" |
pascal@2221 | 9 SOURCE="screen" |
pascal@2221 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2221 | 11 WEB_SITE="http://www.gnu.org/software/screen" |
pascal@2221 | 12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
pascal@2221 | 13 CONFIG_FILES="/etc/screenrc" |
slaxemulator@10341 | 14 SUGGESTED="screen-terminfo" |
slaxemulator@10341 | 15 PROVIDE="screen:pam" |
slaxemulator@10341 | 16 |
gokhlayeh@8980 | 17 DEPENDS="pam elfutils" |
gokhlayeh@8980 | 18 BUILD_DEPENDS="ncursesw-extra" |
pascal@2221 | 19 |
pascal@2221 | 20 # Rules to configure and make the package. |
pascal@2221 | 21 compile_rules() |
pascal@2221 | 22 { |
gokhlayeh@8980 | 23 ./configure --with-sys-screenrc=/etc/screenrc \ |
slaxemulator@10341 | 24 --enable-pam $CONFIGURE_ARGS && |
pascal@2221 | 25 make && |
gokhlayeh@8898 | 26 make -j1 DESTDIR=$DESTDIR install && |
gokhlayeh@8898 | 27 mkdir -p $DESTDIR/usr/share/terminfo && |
gokhlayeh@8898 | 28 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src && |
gokhlayeh@8898 | 29 mkdir -p $DESTDIR/etc && |
slaxemulator@9010 | 30 cp -a $src/etc/screenrc $DESTDIR/etc |
pascal@2221 | 31 } |
pascal@2221 | 32 |
pascal@2221 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2221 | 34 genpkg_rules() |
pascal@2221 | 35 { |
gokhlayeh@8898 | 36 mkdir -p $fs/usr/bin $fs/usr/share |
pascal@15587 | 37 cp -a $install/etc $fs |
pascal@15587 | 38 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen |
pascal@15587 | 39 cp -a $install/usr/share/screen $fs/usr/share |
pascal@2221 | 40 } |