wok-next annotate tmux/receipt @ rev 20928
Up duktape
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 06:20:44 2018 +0300 (2018-08-23) |
parents | 0c247ee1a841 |
children | 8e1b2a143eb3 |
rev | line source |
---|---|
paul@5858 | 1 # SliTaz package receipt. |
paul@5858 | 2 |
paul@5858 | 3 PACKAGE="tmux" |
paul@18110 | 4 VERSION="2.0" |
paul@5858 | 5 CATEGORY="utilities" |
paul@5858 | 6 SHORT_DESC="Terminal multiplexer." |
paul@5858 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
paul@5858 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@5858 | 10 WEB_SITE="http://tmux.sourceforge.net/" |
paul@5858 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@5858 | 12 |
al@19675 | 13 DEPENDS="ncurses libevent" |
al@19675 | 14 BUILD_DEPENDS="ncurses-dev libevent-dev" |
erjo@9924 | 15 |
paul@5858 | 16 # Rules to configure and make the package. |
paul@5858 | 17 compile_rules() |
paul@5858 | 18 { |
gokhlayeh@11573 | 19 ./configure $CONFIGURE_ARGS && |
gokhlayeh@9104 | 20 make PREFIX=/usr && |
gokhlayeh@9104 | 21 make PREFIX=/usr install && |
erjo@9924 | 22 install -d m755 "$DESTDIR/usr/share/tmux/" && |
erjo@9924 | 23 install -m 644 examples/* "$DESTDIR/usr/share/tmux/" |
paul@5858 | 24 } |
paul@5858 | 25 |
paul@5858 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@5858 | 27 genpkg_rules() |
paul@5858 | 28 { |
gokhlayeh@9104 | 29 mkdir -p $fs/usr/share/terminfo/s/ |
paul@13532 | 30 cp -a $install/usr/bin $fs/usr |
paul@5858 | 31 |
paul@5858 | 32 # copy sample configs |
paul@13532 | 33 cp -a $install/usr/share/tmux $fs/usr/share |
gokhlayeh@9104 | 34 |
paul@13532 | 35 # Get screen terminfo data |
al@19675 | 36 tazpkg get-install ncurses-extra --root=$src/ncurses-extra >/dev/null 2>&1 |
al@19675 | 37 cp -a $src/ncurses-extra/usr/share/terminfo/s/screen \ |
gokhlayeh@9104 | 38 $fs/usr/share/terminfo/s/ |
al@19675 | 39 rm -r $src/ncurses-extra |
paul@5858 | 40 } |
paul@5858 | 41 |