wok annotate screen-pam/receipt @ rev 24495
updated dolibarr again (10.0.6 -> 14.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 13:42:19 2022 +0100 (2022-02-19) |
parents | da134f47b369 |
children | 3110e5023d97 |
rev | line source |
---|---|
pascal@2221 | 1 # SliTaz package receipt. |
pascal@2221 | 2 |
pascal@2221 | 3 PACKAGE="screen-pam" |
pascal@23840 | 4 VERSION="4.8.0" |
pascal@2221 | 5 CATEGORY="system-tools" |
pascal@2221 | 6 SHORT_DESC="Terminal multiplexer with PAM support." |
pascal@2221 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15587 | 8 LICENSE="GPL2" |
Hans-G?nter@21890 | 9 WEB_SITE="https://www.gnu.org/software/screen/" |
Hans-G?nter@21890 | 10 |
pascal@2221 | 11 SOURCE="screen" |
pascal@2221 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2221 | 13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
Hans-G?nter@21890 | 14 |
pascal@2221 | 15 CONFIG_FILES="/etc/screenrc" |
Hans-G?nter@21890 | 16 |
slaxemulator@10341 | 17 SUGGESTED="screen-terminfo" |
slaxemulator@10341 | 18 PROVIDE="screen:pam" |
Hans-G?nter@21890 | 19 DEPENDS="elfutils pam" |
pascal@23623 | 20 BUILD_DEPENDS="ncursesw-extra texinfo" |
pascal@2221 | 21 |
pascal@24336 | 22 # What is the latest version available today? |
pascal@24336 | 23 current_version() |
pascal@24336 | 24 { |
pascal@24336 | 25 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 26 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 27 } |
pascal@24336 | 28 |
pascal@2221 | 29 # Rules to configure and make the package. |
pascal@2221 | 30 compile_rules() |
pascal@2221 | 31 { |
Hans-G?nter@21890 | 32 ./configure \ |
Hans-G?nter@21890 | 33 --with-sys-screenrc=/etc/screenrc \ |
Hans-G?nter@21890 | 34 --enable-pam \ |
Hans-G?nter@21890 | 35 $CONFIGURE_ARGS && |
pascal@2221 | 36 make && |
gokhlayeh@8898 | 37 make -j1 DESTDIR=$DESTDIR install && |
gokhlayeh@8898 | 38 mkdir -p $DESTDIR/usr/share/terminfo && |
gokhlayeh@8898 | 39 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src && |
gokhlayeh@8898 | 40 mkdir -p $DESTDIR/etc && |
slaxemulator@9010 | 41 cp -a $src/etc/screenrc $DESTDIR/etc |
pascal@2221 | 42 } |
pascal@2221 | 43 |
pascal@2221 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2221 | 45 genpkg_rules() |
pascal@2221 | 46 { |
Hans-G?nter@21890 | 47 mkdir -p $fs/usr/bin |
Hans-G?nter@21890 | 48 mkdir -p $fs/usr/share |
Hans-G?nter@21890 | 49 |
Hans-G?nter@21890 | 50 cp -a $install/etc $fs |
Hans-G?nter@21890 | 51 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen |
Hans-G?nter@21890 | 52 cp -a $install/usr/share/screen $fs/usr/share |
pascal@2221 | 53 } |