wok view screen/receipt @ rev 24729
updated libdnet and libdnet-dev (1.12 -> 1.14)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 16:28:57 2022 +0100 (2022-03-15) |
parents | da134f47b369 |
children | 3110e5023d97 |
line source
1 # SliTaz package receipt.
3 PACKAGE="screen"
4 VERSION="4.8.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="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 ./configure \
31 --with-sys-screenrc=/etc/screenrc \
32 $CONFIGURE_ARGS &&
33 make &&
34 make -j1 DESTDIR=$DESTDIR install &&
35 mkdir -p $DESTDIR/usr/share/terminfo &&
36 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
37 mkdir -p $DESTDIR/etc &&
38 cp -a $src/etc/screenrc $DESTDIR/etc
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/bin
45 mkdir -p $fs/usr/share
47 cp -a $install/etc $fs
48 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
49 cp -a $install/usr/share/screen $fs/usr/share
50 }