wok view tmux/receipt @ rev 23781

updated xscreensaver (5.43 -> 5.44)
author Hans-G?nter Theisgen
date Thu May 21 14:14:27 2020 +0100 (2020-05-21)
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 }