wok-6.x view tmux/receipt @ rev 15872
Up: lz4 (112) add lz4c, lib and dev packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 02 21:26:43 2014 +0100 (2014-02-02) |
parents | 729865729f2a |
children | 4eb561fa0e5d |
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="1.7"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tmux.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="ncursesw libevent"
14 BUILD_DEPENDS="ncursesw-dev libevent-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 ./configure $CONFIGURE_ARGS &&
22 make PREFIX=/usr &&
23 make PREFIX=/usr install &&
24 install -d m755 "$DESTDIR/usr/share/tmux/" &&
25 install -m 644 examples/* "$DESTDIR/usr/share/tmux/"
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/terminfo/s/
32 cp -a $install/usr/bin $fs/usr
34 # copy sample configs
35 cp -a $install/usr/share/tmux $fs/usr/share
37 # Get screen terminfo data
38 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
39 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
40 $fs/usr/share/terminfo/s/
41 rm -r $src/ncursesw-extra
42 }