wok rev 22044
updated tmux (2.0 -> 2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Oct 22 13:52:50 2019 +0100 (2019-10-22) |
parents | f59250a6e10d |
children | 55085cfd39e0 |
files | tmux/receipt |
line diff
1.1 --- a/tmux/receipt Tue Oct 22 12:57:36 2019 +0300 1.2 +++ b/tmux/receipt Tue Oct 22 13:52:50 2019 +0100 1.3 @@ -1,42 +1,46 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tmux" 1.7 -VERSION="2.0" 1.8 +VERSION="2.9" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="Terminal multiplexer." 1.11 MAINTAINER="paul@slitaz.org" 1.12 LICENSE="MIT" 1.13 +WEB_SITE="https://github.com/tmux/tmux/wiki" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="https://github.com/tmux/tmux/wiki" 1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL" 1.19 + 1.20 +DEPENDS="libevent ncursesw" 1.21 +BUILD_DEPENDS="libevent-dev ncursesw-dev" 1.22 + 1.23 HOST_ARCH="i486 arm" 1.24 1.25 -DEPENDS="ncursesw libevent" 1.26 -BUILD_DEPENDS="ncursesw-dev libevent-dev" 1.27 - 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 + export LDFLAGS="$LDFLAGS -ltinfo" 1.32 + 1.33 ./configure $CONFIGURE_ARGS && 1.34 make PREFIX=/usr && 1.35 make PREFIX=/usr install && 1.36 install -d m755 "$DESTDIR/usr/share/tmux/" && 1.37 - install -m 644 examples/* "$DESTDIR/usr/share/tmux/" 1.38 + install -m 644 example_tmux.conf $DESTDIR/usr/share/tmux/ 1.39 } 1.40 1.41 # Rules to gen a SliTaz package suitable for Tazpkg. 1.42 genpkg_rules() 1.43 { 1.44 mkdir -p $fs/usr/share/terminfo/s/ 1.45 - cp -a $install/usr/bin $fs/usr 1.46 1.47 - # copy sample configs 1.48 - cp -a $install/usr/share/tmux $fs/usr/share 1.49 + cp -a $install/usr/bin $fs/usr 1.50 + 1.51 + # copy sample configuration 1.52 + cp -a $install/usr/share/tmux $fs/usr/share 1.53 1.54 # Get screen terminfo data 1.55 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1 1.56 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \ 1.57 - $fs/usr/share/terminfo/s/ 1.58 + $fs/usr/share/terminfo/s/ 1.59 rm -r $src/ncursesw-extra 1.60 } 1.61 -