wok-next annotate tmux/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 8e1b2a143eb3 |
children |
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" |
al@21020 | 6 SHORT_DESC="Terminal multiplexer" |
paul@5858 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
al@21020 | 9 WEB_SITE="https://github.com/tmux/tmux/wiki" |
al@21020 | 10 |
paul@5858 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@5858 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@5858 | 13 |
al@19675 | 14 BUILD_DEPENDS="ncurses-dev libevent-dev" |
erjo@9924 | 15 |
al@21020 | 16 compile_rules() { |
gokhlayeh@11573 | 17 ./configure $CONFIGURE_ARGS && |
gokhlayeh@9104 | 18 make PREFIX=/usr && |
al@21020 | 19 make PREFIX=/usr install || return 1 |
al@21020 | 20 |
al@21020 | 21 install -dm755 $install/usr/share/tmux/ |
al@21020 | 22 install -m644 examples/* $install/usr/share/tmux/ |
paul@5858 | 23 } |
paul@5858 | 24 |
al@21020 | 25 genpkg_rules() { |
gokhlayeh@9104 | 26 mkdir -p $fs/usr/share/terminfo/s/ |
paul@13532 | 27 cp -a $install/usr/bin $fs/usr |
paul@5858 | 28 |
paul@5858 | 29 # copy sample configs |
paul@13532 | 30 cp -a $install/usr/share/tmux $fs/usr/share |
gokhlayeh@9104 | 31 |
paul@13532 | 32 # Get screen terminfo data |
al@19675 | 33 tazpkg get-install ncurses-extra --root=$src/ncurses-extra >/dev/null 2>&1 |
al@19675 | 34 cp -a $src/ncurses-extra/usr/share/terminfo/s/screen \ |
gokhlayeh@9104 | 35 $fs/usr/share/terminfo/s/ |
al@19675 | 36 rm -r $src/ncurses-extra |
al@21020 | 37 DEPENDS="ncurses libevent" |
paul@5858 | 38 } |