wok annotate screen-pam/receipt @ rev 23840
Up libsdl2-image (2.0.5), radare2 (4.4.0), screen (4.8.0), sleuthkit (4.9.0), thunderbird-bin (68.9.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 04 16:22:12 2020 +0000 (2020-06-04) |
parents | d443265acbc1 |
children | 71360a13cd94 |
rev | line source |
---|---|
pascal@2221 | 1 # SliTaz package receipt. |
pascal@2221 | 2 |
pascal@2221 | 3 PACKAGE="screen-pam" |
pascal@23840 | 4 VERSION="4.8.0" |
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" |
Hans-G?nter@21890 | 9 WEB_SITE="https://www.gnu.org/software/screen/" |
Hans-G?nter@21890 | 10 |
pascal@2221 | 11 SOURCE="screen" |
pascal@2221 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2221 | 13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
Hans-G?nter@21890 | 14 |
pascal@2221 | 15 CONFIG_FILES="/etc/screenrc" |
Hans-G?nter@21890 | 16 |
slaxemulator@10341 | 17 SUGGESTED="screen-terminfo" |
slaxemulator@10341 | 18 PROVIDE="screen:pam" |
Hans-G?nter@21890 | 19 DEPENDS="elfutils pam" |
pascal@23623 | 20 BUILD_DEPENDS="ncursesw-extra texinfo" |
pascal@2221 | 21 |
pascal@2221 | 22 # Rules to configure and make the package. |
pascal@2221 | 23 compile_rules() |
pascal@2221 | 24 { |
Hans-G?nter@21890 | 25 ./configure \ |
Hans-G?nter@21890 | 26 --with-sys-screenrc=/etc/screenrc \ |
Hans-G?nter@21890 | 27 --enable-pam \ |
Hans-G?nter@21890 | 28 $CONFIGURE_ARGS && |
pascal@2221 | 29 make && |
gokhlayeh@8898 | 30 make -j1 DESTDIR=$DESTDIR install && |
gokhlayeh@8898 | 31 mkdir -p $DESTDIR/usr/share/terminfo && |
gokhlayeh@8898 | 32 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src && |
gokhlayeh@8898 | 33 mkdir -p $DESTDIR/etc && |
slaxemulator@9010 | 34 cp -a $src/etc/screenrc $DESTDIR/etc |
pascal@2221 | 35 } |
pascal@2221 | 36 |
pascal@2221 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2221 | 38 genpkg_rules() |
pascal@2221 | 39 { |
Hans-G?nter@21890 | 40 mkdir -p $fs/usr/bin |
Hans-G?nter@21890 | 41 mkdir -p $fs/usr/share |
Hans-G?nter@21890 | 42 |
Hans-G?nter@21890 | 43 cp -a $install/etc $fs |
Hans-G?nter@21890 | 44 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen |
Hans-G?nter@21890 | 45 cp -a $install/usr/share/screen $fs/usr/share |
pascal@2221 | 46 } |