wok-4.x annotate screen/receipt @ rev 7340
Add which.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 20 02:04:53 2010 +0000 (2010-11-20) |
parents | e620297fff00 |
children | 9503ee00896a |
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" |
pascal@2174 | 12 BUILD_DEPENDS="ncurses-extra" |
pascal@2174 | 13 SUGGESTED="screen-terminfo" |
pascal@901 | 14 |
pascal@901 | 15 # Rules to configure and make the package. |
pascal@901 | 16 compile_rules() |
pascal@901 | 17 { |
pascal@901 | 18 cd $src |
pascal@901 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2173 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2173 | 21 make && |
pascal@2174 | 22 make DESTDIR=$PWD/_pkg install || return 1 |
pascal@2174 | 23 mkdir -p _pkg/usr/share/terminfo |
pascal@2174 | 24 tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src |
pascal@901 | 25 } |
pascal@901 | 26 |
pascal@901 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@901 | 28 genpkg_rules() |
pascal@901 | 29 { |
pascal@2173 | 30 mkdir -p $fs/usr/bin $fs/usr/share $fs/etc |
pascal@2173 | 31 cp $src/etc/screenrc $fs/etc |
pascal@901 | 32 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen |
pascal@901 | 33 cp -a $_pkg/usr/share/screen $fs/usr/share |
pascal@901 | 34 } |
pascal@901 | 35 |