wok-next annotate screen/receipt @ rev 10754

slitaz-i18n-extra: use EXTRA_PKGS as bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 22:12:10 2011 +0200 (2011-05-30)
parents bdfc447d18ac
children 731695dfaf97
rev   line source
pascal@901 1 # SliTaz package receipt.
pascal@901 2
pascal@901 3 PACKAGE="screen"
pascal@2174 4 VERSION="4.0.3"
pascal@901 5 CATEGORY="system-tools"
pascal@901 6 SHORT_DESC="Terminal multiplexer."
pascal@901 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@901 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@901 9 WEB_SITE="http://www.gnu.org/software/screen"
pascal@901 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@2173 11 CONFIG_FILES="/etc/screenrc"
slaxemulator@10341 12 SUGGESTED="screen-terminfo"
slaxemulator@10341 13
gokhlayeh@8980 14 DEPENDS="elfutils"
gokhlayeh@8342 15 BUILD_DEPENDS="ncursesw-extra"
pascal@901 16
pascal@901 17 # Rules to configure and make the package.
pascal@901 18 compile_rules()
pascal@901 19 {
pascal@901 20 cd $src
slaxemulator@10341 21 ./configure --with-sys-screenrc=/etc/screenrc $CONFIGURE_ARGS &&
gokhlayeh@8980 22 make && make -j1 DESTDIR=$DESTDIR install || return 1
slaxemulator@8540 23 mkdir -p $DESTDIR/usr/share/terminfo
slaxemulator@8540 24 tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src
slaxemulator@8540 25 mkdir -p $DESTDIR/etc
slaxemulator@8540 26 cp $src/etc/screenrc $DESTDIR/etc
pascal@901 27 }
pascal@901 28
pascal@901 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@901 30 genpkg_rules()
pascal@901 31 {
slaxemulator@8540 32 mkdir -p $fs/usr/bin $fs/usr/share
pascal@901 33 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen
pascal@901 34 cp -a $_pkg/usr/share/screen $fs/usr/share
gokhlayeh@8898 35 cp -a $_pkg/etc $fs
pascal@901 36 }
pascal@901 37