wok-next rev 5858
Add tmux
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jul 17 17:52:21 2010 +0000 (2010-07-17) |
parents | 4e2fd52e7ed7 |
children | 5e7d5d586f55 |
files | tmux/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tmux/receipt Sat Jul 17 17:52:21 2010 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tmux" 1.7 +VERSION="1.2" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Terminal multiplexer." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="ncurses libevent" 1.12 +BUILD_DEPENDS="ncurses-dev libevent libevent-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://tmux.sourceforge.net/" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + 1.22 + # hack GNUmakefile 1.23 + sed -i 's/install -g bin/install -g root/g' GNUmakefile 1.24 + 1.25 + ./configure \ 1.26 + --prefix=/usr # not working? 1.27 + make && make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/share/tmux 1.34 + cp -a $_pkg/usr/local/bin $fs/usr 1.35 + 1.36 + # copy sample configs 1.37 + cp -a $src/examples $fs/usr/share/tmux 1.38 +} 1.39 +