wok annotate tmux/receipt @ rev 9104

Up: tmux 1.4, including various fixes
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 04 15:13:57 2011 +0100 (2011-03-04)
parents 5c44261d9d9f
children 925d45357256
rev   line source
paul@5858 1 # SliTaz package receipt.
paul@5858 2
paul@5858 3 PACKAGE="tmux"
gokhlayeh@9104 4 VERSION="1.4"
paul@5858 5 CATEGORY="utilities"
paul@5858 6 SHORT_DESC="Terminal multiplexer."
paul@5858 7 MAINTAINER="paul@slitaz.org"
gokhlayeh@9104 8 DEPENDS="ncursesw libevent"
paul@5858 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@5858 10 WEB_SITE="http://tmux.sourceforge.net/"
paul@5858 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
paul@5858 12
paul@5858 13 # Rules to configure and make the package.
paul@5858 14 compile_rules()
paul@5858 15 {
paul@5858 16 cd $src
paul@5858 17
gokhlayeh@9104 18 ./configure &&
gokhlayeh@9104 19 make PREFIX=/usr &&
gokhlayeh@9104 20 make PREFIX=/usr install &&
gokhlayeh@9104 21 install -dm755 "$DESTDIR/usr/share/tmux/" &&
gokhlayeh@9104 22 install -m644 examples/* "$DESTDIR/usr/share/tmux/"
paul@5858 23 }
paul@5858 24
paul@5858 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@5858 26 genpkg_rules()
paul@5858 27 {
gokhlayeh@9104 28 mkdir -p $fs/usr/share/terminfo/s/
gokhlayeh@9104 29 cp -a $_pkg/usr/bin $fs/usr
paul@5858 30
paul@5858 31 # copy sample configs
gokhlayeh@9104 32 cp -a $_pkg/usr/share/tmux $fs/usr/share
gokhlayeh@9104 33
gokhlayeh@9104 34 # Get screen terminfo datas.
gokhlayeh@9104 35 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra
gokhlayeh@9104 36 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
gokhlayeh@9104 37 $fs/usr/share/terminfo/s/
gokhlayeh@9104 38 rm -r $src/ncursesw-extra
paul@5858 39 }
paul@5858 40