wok view screen-pam/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 3110e5023d97
children
line source
1 # SliTaz package receipt.
3 PACKAGE="screen-pam"
4 VERSION="4.9.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="automake ncursesw-extra texinfo"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://ftp.gnu.org/gnu/$SOURCE/ 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 ./autogen.sh &&
33 ./configure \
34 --with-sys-screenrc=/etc/screenrc \
35 --enable-pam \
36 $CONFIGURE_ARGS &&
37 make &&
38 make -j1 install DESTDIR=$DESTDIR &&
39 mkdir -p $DESTDIR/usr/share/terminfo &&
40 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
41 mkdir -p $DESTDIR/etc &&
42 cp -a $src/etc/screenrc $DESTDIR/etc
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/bin
49 mkdir -p $fs/usr/share
51 cp -a $install/etc $fs
52 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
53 cp -a $install/usr/share/screen $fs/usr/share
54 }