wok view tmux/receipt @ rev 7974

Fix: net-snmp needs -j1 to install correctly
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:55:29 2011 +0100 (2011-01-17)
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 }