wok-6.x view tmux/receipt @ rev 11317

Up: gsoap to 2.8.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 16 14:01:09 2011 +0000 (2011-11-16)
parents 09986731806c
children b7319995b37e
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="1.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://tmux.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="ncursesw libevent"
13 BUILD_DEPENDS="ncursesw-dev libevent-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 ./configure &&
21 make PREFIX=/usr &&
22 make PREFIX=/usr install &&
23 install -d m755 "$DESTDIR/usr/share/tmux/" &&
24 install -m 644 examples/* "$DESTDIR/usr/share/tmux/"
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/terminfo/s/
31 cp -a $_pkg/usr/bin $fs/usr
33 # copy sample configs
34 cp -a $_pkg/usr/share/tmux $fs/usr/share
36 # Get screen terminfo datas.
37 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
38 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
39 $fs/usr/share/terminfo/s/
40 rm -r $src/ncursesw-extra
41 }