wok view tmux/receipt @ rev 6029

icedtea6-jdk: do not always install gawk
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 15 17:07:52 2010 +0200 (2010-08-15)
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 }