wok annotate tmux/receipt @ rev 7521

Add ecm. Convers CD image files into a lossless format optimized for compressing tools.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Dec 05 09:57:19 2010 +0000 (2010-12-05)
parents ee824f87f3d6
children ae75a1adf8ca
rev   line source
paul@5858 1 # SliTaz package receipt.
paul@5858 2
paul@5858 3 PACKAGE="tmux"
erjo@5891 4 VERSION="1.3"
paul@5858 5 CATEGORY="utilities"
paul@5858 6 SHORT_DESC="Terminal multiplexer."
paul@5858 7 MAINTAINER="paul@slitaz.org"
paul@5858 8 DEPENDS="ncurses libevent"
paul@5858 9 BUILD_DEPENDS="ncurses-dev libevent libevent-dev"
paul@5858 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@5858 11 WEB_SITE="http://tmux.sourceforge.net/"
paul@5858 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
paul@5858 13
paul@5858 14 # Rules to configure and make the package.
paul@5858 15 compile_rules()
paul@5858 16 {
paul@5858 17 cd $src
paul@5858 18
paul@5858 19 # hack GNUmakefile
paul@5858 20 sed -i 's/install -g bin/install -g root/g' GNUmakefile
paul@5858 21
paul@5858 22 ./configure \
paul@5858 23 --prefix=/usr # not working?
paul@5858 24 make && make DESTDIR=$PWD/_pkg install
paul@5858 25 }
paul@5858 26
paul@5858 27 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@5858 28 genpkg_rules()
paul@5858 29 {
paul@5858 30 mkdir -p $fs/usr/share/tmux
paul@5858 31 cp -a $_pkg/usr/local/bin $fs/usr
paul@5858 32
paul@5858 33 # copy sample configs
paul@5858 34 cp -a $src/examples $fs/usr/share/tmux
paul@5858 35 }
paul@5858 36