wok-current view tmux/receipt @ rev 25449
BootProg/boot32.asm: floppy chs support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 12 16:35:46 2022 +0000 (23 months ago) |
parents | 51ef9f5adf6d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="3.3a"
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 ncurses-extra ncursesw-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -ltinfo"
30 ./configure $CONFIGURE_ARGS &&
31 make PREFIX=/usr &&
32 make install PREFIX=/usr &&
33 install -d m755 "$DESTDIR/usr/share/tmux/" &&
34 install -m 644 example_tmux.conf "$DESTDIR/usr/share/tmux/"
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/terminfo/s
42 cp -a $install/usr/bin $fs/usr
44 # copy sample configuration
45 cp -a $install/usr/share/tmux $fs/usr/share
47 # Get screen terminfo data
48 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
49 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
50 $fs/usr/share/terminfo/s
51 rm -r $src/ncursesw-extra
52 }