# HG changeset patch # User Paul Issott # Date 1279389141 0 # Node ID ee824f87f3d62e19873d4b7e6655e12879cd3f28 # Parent 4e2fd52e7ed7b9abc92719e1193a592164e32d03 Add tmux diff -r 4e2fd52e7ed7 -r ee824f87f3d6 tmux/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tmux/receipt Sat Jul 17 17:52:21 2010 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="tmux" +VERSION="1.2" +CATEGORY="utilities" +SHORT_DESC="Terminal multiplexer." +MAINTAINER="paul@slitaz.org" +DEPENDS="ncurses libevent" +BUILD_DEPENDS="ncurses-dev libevent libevent-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://tmux.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + # hack GNUmakefile + sed -i 's/install -g bin/install -g root/g' GNUmakefile + + ./configure \ + --prefix=/usr # not working? + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/tmux + cp -a $_pkg/usr/local/bin $fs/usr + + # copy sample configs + cp -a $src/examples $fs/usr/share/tmux +} +