wok-current view tmux/receipt @ rev 8849

Up: libisofs to 1.0.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Feb 24 22:28:49 2011 +0000 (2011-02-24)
parents ee824f87f3d6
children ae75a1adf8ca
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="1.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses libevent"
9 BUILD_DEPENDS="ncurses-dev libevent libevent-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://tmux.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # hack GNUmakefile
20 sed -i 's/install -g bin/install -g root/g' GNUmakefile
22 ./configure \
23 --prefix=/usr # not working?
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/tmux
31 cp -a $_pkg/usr/local/bin $fs/usr
33 # copy sample configs
34 cp -a $src/examples $fs/usr/share/tmux
35 }