wok view screen-pam/receipt @ rev 25155
updated proxytunnel (1.9.0 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 15:35:33 2022 +0100 (2022-06-30) |
parents | da134f47b369 |
children | 3110e5023d97 |
line source
1 # SliTaz package receipt.
3 PACKAGE="screen-pam"
4 VERSION="4.8.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 texinfo"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*} 2>/dev/null | \
26 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --with-sys-screenrc=/etc/screenrc \
34 --enable-pam \
35 $CONFIGURE_ARGS &&
36 make &&
37 make -j1 DESTDIR=$DESTDIR install &&
38 mkdir -p $DESTDIR/usr/share/terminfo &&
39 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
40 mkdir -p $DESTDIR/etc &&
41 cp -a $src/etc/screenrc $DESTDIR/etc
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/bin
48 mkdir -p $fs/usr/share
50 cp -a $install/etc $fs
51 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
52 cp -a $install/usr/share/screen $fs/usr/share
53 }