wok view tmux/receipt @ rev 22350
xarchiver: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 18 11:21:40 2019 +0100 (2019-11-18) |
parents | 20661c276bcf |
children | e0b89d2b47d1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="2.9"
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 }