wok view tmux/receipt @ rev 23956
Up tazpanel (636)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 27 16:29:16 2020 +0000 (2020-09-27) |
parents | 11eb01863eec |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="3.0a"
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="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 DEPENDS="libevent ncursesw"
15 BUILD_DEPENDS="libevent-dev ncursesw-dev"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="$LDFLAGS -ltinfo"
24 ./configure $CONFIGURE_ARGS &&
25 make PREFIX=/usr &&
26 make PREFIX=/usr install &&
27 install -d m755 "$DESTDIR/usr/share/tmux/" &&
28 install -m 644 example_tmux.conf $DESTDIR/usr/share/tmux/
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/terminfo/s
36 cp -a $install/usr/bin $fs/usr
38 # copy sample configuration
39 cp -a $install/usr/share/tmux $fs/usr/share
41 # Get screen terminfo data
42 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
43 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
44 $fs/usr/share/terminfo/s
45 rm -r $src/ncursesw-extra
46 }