wok annotate screen/receipt @ rev 20632
linld: 32 bits lseeks for tazboot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 17:23:23 2019 +0100 (2019-01-05) |
parents | 7896f0694ef6 |
children | c7f226fe1c21 |
rev | line source |
---|---|
pascal@901 | 1 # SliTaz package receipt. |
pascal@901 | 2 |
pascal@901 | 3 PACKAGE="screen" |
pascal@17515 | 4 VERSION="4.2.1" |
pascal@901 | 5 CATEGORY="system-tools" |
pascal@901 | 6 SHORT_DESC="Terminal multiplexer." |
pascal@901 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@901 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@901 | 10 WEB_SITE="http://www.gnu.org/software/screen" |
pascal@901 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@2173 | 12 CONFIG_FILES="/etc/screenrc" |
slaxemulator@10341 | 13 SUGGESTED="screen-terminfo" |
slaxemulator@10341 | 14 |
gokhlayeh@8980 | 15 DEPENDS="elfutils" |
gokhlayeh@8342 | 16 BUILD_DEPENDS="ncursesw-extra" |
pascal@901 | 17 |
pascal@901 | 18 # Rules to configure and make the package. |
pascal@901 | 19 compile_rules() |
pascal@901 | 20 { |
pascal@17515 | 21 ./configure --with-sys-screenrc=/etc/screenrc \ |
pascal@17515 | 22 $CONFIGURE_ARGS && |
pascal@17515 | 23 make && |
pascal@17515 | 24 make -j1 DESTDIR=$DESTDIR install && |
pascal@17515 | 25 mkdir -p $DESTDIR/usr/share/terminfo && |
pascal@17515 | 26 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src && |
pascal@17515 | 27 mkdir -p $DESTDIR/etc && |
pascal@17515 | 28 cp -a $src/etc/screenrc $DESTDIR/etc |
pascal@901 | 29 } |
pascal@901 | 30 |
pascal@901 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@901 | 32 genpkg_rules() |
pascal@901 | 33 { |
slaxemulator@8540 | 34 mkdir -p $fs/usr/bin $fs/usr/share |
pascal@17515 | 35 cp -a $install/etc $fs |
pascal@15002 | 36 cp -a $install/usr/bin/screen-$VERSION $fs/usr/bin/screen |
pascal@15002 | 37 cp -a $install/usr/share/screen $fs/usr/share |
pascal@901 | 38 } |