wok annotate tmux/receipt @ rev 9640

Fixed last commit.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Apr 26 19:48:46 2011 +0000 (2011-04-26)
parents ae75a1adf8ca
children 09986731806c
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.
pascal@9114 35 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
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