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

GConf: Fix BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 15:43:53 2011 +0200 (2011-05-11)
parents ae75a1adf8ca
children 09986731806c
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="1.4"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncursesw libevent"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tmux.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
18 ./configure &&
19 make PREFIX=/usr &&
20 make PREFIX=/usr install &&
21 install -dm755 "$DESTDIR/usr/share/tmux/" &&
22 install -m644 examples/* "$DESTDIR/usr/share/tmux/"
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/terminfo/s/
29 cp -a $_pkg/usr/bin $fs/usr
31 # copy sample configs
32 cp -a $_pkg/usr/share/tmux $fs/usr/share
34 # Get screen terminfo datas.
35 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
36 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
37 $fs/usr/share/terminfo/s/
38 rm -r $src/ncursesw-extra
39 }