wok-next view tmux/receipt @ rev 21321
updated lazarus (1.6.0-0 -> 2.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 11 14:09:34 2019 +0100 (2019-12-11) |
parents | 8e1b2a143eb3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="2.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal multiplexer"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/tmux/tmux/wiki"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev libevent-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS &&
18 make PREFIX=/usr &&
19 make PREFIX=/usr install || return 1
21 install -dm755 $install/usr/share/tmux/
22 install -m644 examples/* $install/usr/share/tmux/
23 }
25 genpkg_rules() {
26 mkdir -p $fs/usr/share/terminfo/s/
27 cp -a $install/usr/bin $fs/usr
29 # copy sample configs
30 cp -a $install/usr/share/tmux $fs/usr/share
32 # Get screen terminfo data
33 tazpkg get-install ncurses-extra --root=$src/ncurses-extra >/dev/null 2>&1
34 cp -a $src/ncurses-extra/usr/share/terminfo/s/screen \
35 $fs/usr/share/terminfo/s/
36 rm -r $src/ncurses-extra
37 DEPENDS="ncurses libevent"
38 }