wok-next view screen/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children d457c4e37c1b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="screen"
4 VERSION="4.6.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Terminal multiplexer"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnu.org/software/screen"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/screen.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="ncurses-extra pam-dev"
16 SPLIT="$PACKAGE-terminfo $PACKAGE $PACKAGE-pam:pam"
18 compile_rules() {
19 case $SET in
20 '') SET_ARGS='--disable-pam';;
21 pam) SET_ARGS='--enable-pam';;
22 esac
24 ./configure \
25 --with-socket-dir=/run/screen \
26 --with-pty-group=5 \
27 --with-sys-screenrc=/etc/screenrc \
28 $SET_ARGS \
29 $CONFIGURE_ARGS &&
30 sed -i -e "s|/usr/local/etc/screenrc|/etc/screenrc|" etc/* doc/* &&
31 make &&
32 make -j1 DESTDIR=$install install || return 1
34 install -Dm644 etc/etcscreenrc $install/etc/screenrc
36 case $SET in
37 '')
38 mkdir -p $install/usr/share/terminfo
39 tic -o $install/usr/share/terminfo terminfo/screeninfo.src
40 ;;
41 esac
42 }
44 genpkg_rules() {
45 case $PACKAGE in
46 screen-terminfo)
47 copy terminfo/
48 CAT="system-tools|terminfo files"
49 ;;
50 screen)
51 copy @std @rm
52 CONFIG_FILES="/etc/screenrc"
53 SUGGESTED="screen-terminfo"
54 DEPENDS="ncurses"
55 ;;
56 screen-pam)
57 copy @std
58 CONFIG_FILES="/etc/screenrc"
59 SUGGESTED="screen-terminfo"
60 DEPENDS="ncurses pam"
61 CAT="system-tools|with PAM support"
62 PROVIDE="screen:pam"
63 ;;
64 esac
65 }