wok view screen/receipt @ rev 20580

go: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 22:11:22 2018 +0100 (2018-12-13)
parents 7896f0694ef6
children c7f226fe1c21
line source
1 # SliTaz package receipt.
3 PACKAGE="screen"
4 VERSION="4.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/screen"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/screenrc"
13 SUGGESTED="screen-terminfo"
15 DEPENDS="elfutils"
16 BUILD_DEPENDS="ncursesw-extra"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --with-sys-screenrc=/etc/screenrc \
22 $CONFIGURE_ARGS &&
23 make &&
24 make -j1 DESTDIR=$DESTDIR install &&
25 mkdir -p $DESTDIR/usr/share/terminfo &&
26 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src &&
27 mkdir -p $DESTDIR/etc &&
28 cp -a $src/etc/screenrc $DESTDIR/etc
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/share
35 cp -a $install/etc $fs
36 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen
37 cp -a $install/usr/share/screen $fs/usr/share
38 }