wok-current annotate tmux/receipt @ rev 12026
Up tmux (1.6)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Mar 06 19:39:13 2012 +0000 (2012-03-06) |
parents | b7319995b37e |
children | 729865729f2a |
rev | line source |
---|---|
paul@5858 | 1 # SliTaz package receipt. |
paul@5858 | 2 |
paul@5858 | 3 PACKAGE="tmux" |
paul@12026 | 4 VERSION="1.6" |
paul@5858 | 5 CATEGORY="utilities" |
paul@5858 | 6 SHORT_DESC="Terminal multiplexer." |
paul@5858 | 7 MAINTAINER="paul@slitaz.org" |
paul@5858 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@5858 | 9 WEB_SITE="http://tmux.sourceforge.net/" |
paul@5858 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@5858 | 11 |
erjo@9924 | 12 DEPENDS="ncursesw libevent" |
erjo@9924 | 13 BUILD_DEPENDS="ncursesw-dev libevent-dev" |
erjo@9924 | 14 |
paul@5858 | 15 # Rules to configure and make the package. |
paul@5858 | 16 compile_rules() |
paul@5858 | 17 { |
paul@5858 | 18 cd $src |
paul@5858 | 19 |
gokhlayeh@11573 | 20 ./configure $CONFIGURE_ARGS && |
gokhlayeh@9104 | 21 make PREFIX=/usr && |
gokhlayeh@9104 | 22 make PREFIX=/usr install && |
erjo@9924 | 23 install -d m755 "$DESTDIR/usr/share/tmux/" && |
erjo@9924 | 24 install -m 644 examples/* "$DESTDIR/usr/share/tmux/" |
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 { |
gokhlayeh@9104 | 30 mkdir -p $fs/usr/share/terminfo/s/ |
gokhlayeh@9104 | 31 cp -a $_pkg/usr/bin $fs/usr |
paul@5858 | 32 |
paul@5858 | 33 # copy sample configs |
gokhlayeh@9104 | 34 cp -a $_pkg/usr/share/tmux $fs/usr/share |
gokhlayeh@9104 | 35 |
gokhlayeh@9104 | 36 # Get screen terminfo datas. |
pascal@9114 | 37 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1 |
gokhlayeh@9104 | 38 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \ |
gokhlayeh@9104 | 39 $fs/usr/share/terminfo/s/ |
gokhlayeh@9104 | 40 rm -r $src/ncursesw-extra |
paul@5858 | 41 } |
paul@5858 | 42 |