wok-next view screen/receipt @ rev 20287
remove pure-ftpd-pam, screen-pam, screen-terminfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:26:01 2017 +0100 (2017-11-08) |
parents | 6c12ac1293fc |
children | 2ec88e5df2dd |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="screen"
4 VERSION="4.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/screen"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="ncurses-extra pam-dev"
14 SPLIT="screen screen-pam screen-terminfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cp -a $src $src-pam
20 ./configure --with-sys-screenrc=/etc/screenrc \
21 --disable-pam $CONFIGURE_ARGS &&
22 make &&
23 make -j1 DESTDIR=$DESTDIR install &&
24 cd $src-pam &&
25 ./configure --with-sys-screenrc=/etc/screenrc \
26 --enable-pam $CONFIGURE_ARGS &&
27 make &&
28 make -j1 DESTDIR=$DESTDIR-pam install &&
29 for dir in $DESTDIR $DESTDIR-pam ; do
30 mkdir -p $dir/usr/share/terminfo &&
31 tic -o $dir/usr/share/terminfo terminfo/screeninfo.src &&
32 mkdir -p $dir/etc &&
33 cp -a $src/etc/screenrc $dir/etc
34 done
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 screen|screen-pam)
42 CONFIG_FILES="/etc/screenrc"
43 SUGGESTED="screen-terminfo"
44 DEPENDS="elfutils"
45 [ $PACKAGE == screen-pam] && DEPENDS="$DEPENDS pam" &&
46 CAT="system-tools|with PAM support" &&
47 PROVIDE="screen:pam" && install=$install-pam
48 mkdir -p $fs/usr/bin $fs/usr/share
49 cp -a $install/etc $fs
50 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
51 cp -a $install/usr/share/screen $fs/usr/share
52 ;;
53 screen-terminfo)
54 CAT="system-tools|terminfo files"
55 mkdir -p $fs/usr/share
56 cp -a $install/usr/share/terminfo $fs/usr/share/
57 ;;
58 esac
59 }