wok-current view screen-pam/receipt @ rev 22535

created recipe for python-ply
author Hans-G?nter Theisgen
date Fri Jan 03 13:49:45 2020 +0100 (2020-01-03)
parents 91cb22c9c6aa
children d443265acbc1
line source
1 # SliTaz package receipt.
3 PACKAGE="screen-pam"
4 VERSION="4.7.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"
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 }