wok-6.x view screen/receipt @ rev 25465
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 01 08:33:11 2022 +0000 (2022-10-01) |
parents | 71360a13cd94 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="screen"
4 VERSION="4.9.0"
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 - ${WGET_URL%/*} 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 }