wok-next view screen/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | d3adbeea3a9f |
children | f48456621a9d |
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/stable/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="screen-terminfo screen screen-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 }