wok view screen-pam/receipt @ rev 24139

Add redupe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 17:05:26 2021 +0000 (2021-11-09)
parents d443265acbc1
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="screen-pam"
4 VERSION="4.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Terminal multiplexer with PAM support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/screen/"
11 SOURCE="screen"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
15 CONFIG_FILES="/etc/screenrc"
17 SUGGESTED="screen-terminfo"
18 PROVIDE="screen:pam"
19 DEPENDS="elfutils pam"
20 BUILD_DEPENDS="ncursesw-extra texinfo"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --with-sys-screenrc=/etc/screenrc \
27 --enable-pam \
28 $CONFIGURE_ARGS &&
29 make &&
30 make -j1 DESTDIR=$DESTDIR install &&
31 mkdir -p $DESTDIR/usr/share/terminfo &&
32 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
33 mkdir -p $DESTDIR/etc &&
34 cp -a $src/etc/screenrc $DESTDIR/etc
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin
41 mkdir -p $fs/usr/share
43 cp -a $install/etc $fs
44 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
45 cp -a $install/usr/share/screen $fs/usr/share
46 }