wok-next diff screen/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | d3adbeea3a9f |
children | f48456621a9d |
line diff
1.1 --- a/screen/receipt Wed Nov 08 19:39:57 2017 +0200 1.2 +++ b/screen/receipt Thu Jun 28 00:30:02 2018 +0300 1.3 @@ -1,69 +1,65 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="screen" 1.7 -VERSION="4.2.1" 1.8 +VERSION="4.6.2" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Terminal multiplexer." 1.11 +SHORT_DESC="Terminal multiplexer" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.gnu.org/software/screen" 1.15 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/screen.html" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.gnu.org/software/screen" 1.19 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.20 1.21 BUILD_DEPENDS="ncurses-extra pam-dev" 1.22 -SPLIT="screen screen-pam screen-terminfo" 1.23 +SPLIT="screen-terminfo screen screen-pam:pam" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cp -a $src $src-pam 1.29 +compile_rules() { 1.30 + case $SET in 1.31 + '') SET_ARGS='--disable-pam';; 1.32 + pam) SET_ARGS='--enable-pam';; 1.33 + esac 1.34 1.35 ./configure \ 1.36 + --with-socket-dir=/run/screen \ 1.37 + --with-pty-group=5 \ 1.38 --with-sys-screenrc=/etc/screenrc \ 1.39 - --disable-pam \ 1.40 + $SET_ARGS \ 1.41 $CONFIGURE_ARGS && 1.42 + sed -i -e "s|/usr/local/etc/screenrc|/etc/screenrc|" etc/* doc/* && 1.43 make && 1.44 - make -j1 DESTDIR=$DESTDIR install || return 1 1.45 + make -j1 DESTDIR=$install install || return 1 1.46 1.47 - cd $src-pam 1.48 - ./configure \ 1.49 - --with-sys-screenrc=/etc/screenrc \ 1.50 - --enable-pam \ 1.51 - $CONFIGURE_ARGS && 1.52 - make && 1.53 - make -j1 DESTDIR=$DESTDIR-pam install || return 1 1.54 + install -Dm644 etc/etcscreenrc $install/etc/screenrc 1.55 1.56 - for dir in $DESTDIR $DESTDIR-pam ; do 1.57 - mkdir -p $dir/usr/share/terminfo 1.58 - tic -o $dir/usr/share/terminfo terminfo/screeninfo.src 1.59 - mkdir -p $dir/etc 1.60 - cp $src/etc/screenrc $dir/etc 1.61 - done 1.62 + case $SET in 1.63 + '') 1.64 + mkdir -p $install/usr/share/terminfo 1.65 + tic -o $install/usr/share/terminfo terminfo/screeninfo.src 1.66 + ;; 1.67 + esac 1.68 } 1.69 1.70 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.71 -genpkg_rules() 1.72 -{ 1.73 +genpkg_rules() { 1.74 case $PACKAGE in 1.75 - screen|screen-pam) 1.76 - CONFIG_FILES="/etc/screenrc" 1.77 - SUGGESTED="screen-terminfo" 1.78 - DEPENDS="elfutils" 1.79 - if [ $PACKAGE == 'screen-pam' ]; then 1.80 - DEPENDS="$DEPENDS pam" 1.81 + screen-terminfo) 1.82 + copy terminfo/ 1.83 + CAT="system-tools|terminfo files" 1.84 + ;; 1.85 + screen) 1.86 + copy @std @rm 1.87 + CONFIG_FILES="/etc/screenrc" 1.88 + SUGGESTED="screen-terminfo" 1.89 + DEPENDS="ncurses" 1.90 + ;; 1.91 + screen-pam) 1.92 + copy @std 1.93 + CONFIG_FILES="/etc/screenrc" 1.94 + SUGGESTED="screen-terminfo" 1.95 + DEPENDS="ncurses pam" 1.96 CAT="system-tools|with PAM support" 1.97 PROVIDE="screen:pam" 1.98 - install=$install-pam 1.99 - fi 1.100 - mkdir -p $fs/usr/bin $fs/usr/share 1.101 - cp -a $install/etc $fs 1.102 - cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen 1.103 - cp -a $install/usr/share/screen $fs/usr/share 1.104 - ;; 1.105 - screen-terminfo) 1.106 - CAT="system-tools|terminfo files" 1.107 - mkdir -p $fs/usr/share 1.108 - cp -a $install/usr/share/terminfo $fs/usr/share/ 1.109 - ;; 1.110 + ;; 1.111 esac 1.112 }