wok-stable view tmux/receipt @ rev 8540

Fix: Made sure to copy /etc/screenrc in compile_rules instead of genpkg_rules in screen. I also fixed screen-terminfo.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 13 04:45:30 2011 +0000 (2011-02-13)
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 }