wok view screen/receipt @ rev 25677
tazpkg: upgrade core pkgs first, fix miss fr translations
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 19:25:21 2024 +0100 (8 months ago) |
parents | d79ed38ace18 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="screen"
4 VERSION="4.9.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/screen/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 CONFIG_FILES="/etc/screenrc"
16 SUGGESTED="screen-terminfo"
17 DEPENDS="elfutils"
18 BUILD_DEPENDS="automake ncursesw-extra texinfo"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh &&
31 ./configure \
32 --with-sys-screenrc=/etc/screenrc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR &&
37 mkdir -p $DESTDIR/usr/share/terminfo &&
38 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
39 mkdir -p $DESTDIR/etc &&
40 cp -a $src/etc/screenrc $DESTDIR/etc
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/bin
47 mkdir -p $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 }