wok-current annotate screen-pam/receipt @ rev 25478

icedtea6-jdk: adjusted ecj version
author Hans-G?nter Theisgen
date Fri Oct 14 06:10:44 2022 +0100 (2022-10-14)
parents 71360a13cd94
children
rev   line source
pascal@2221 1 # SliTaz package receipt.
pascal@2221 2
pascal@2221 3 PACKAGE="screen-pam"
Hans-G?nter@25294 4 VERSION="4.9.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"
Hans-G?nter@25294 20 BUILD_DEPENDS="automake 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@25294 32 ./autogen.sh &&
Hans-G?nter@21890 33 ./configure \
Hans-G?nter@21890 34 --with-sys-screenrc=/etc/screenrc \
Hans-G?nter@21890 35 --enable-pam \
Hans-G?nter@21890 36 $CONFIGURE_ARGS &&
pascal@2221 37 make &&
Hans-G?nter@25294 38 make -j1 install DESTDIR=$DESTDIR &&
gokhlayeh@8898 39 mkdir -p $DESTDIR/usr/share/terminfo &&
gokhlayeh@8898 40 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
gokhlayeh@8898 41 mkdir -p $DESTDIR/etc &&
slaxemulator@9010 42 cp -a $src/etc/screenrc $DESTDIR/etc
pascal@2221 43 }
pascal@2221 44
pascal@2221 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2221 46 genpkg_rules()
pascal@2221 47 {
Hans-G?nter@21890 48 mkdir -p $fs/usr/bin
Hans-G?nter@21890 49 mkdir -p $fs/usr/share
Hans-G?nter@21890 50
Hans-G?nter@21890 51 cp -a $install/etc $fs
Hans-G?nter@21890 52 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
Hans-G?nter@21890 53 cp -a $install/usr/share/screen $fs/usr/share
pascal@2221 54 }