wok view tmux/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 03bcf02499ab |
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -ltinfo"
31 ./configure $CONFIGURE_ARGS &&
32 make PREFIX=/usr &&
33 make install PREFIX=/usr &&
34 install -d m755 "$DESTDIR/usr/share/tmux/" &&
35 install -m 644 example_tmux.conf "$DESTDIR/usr/share/tmux/"
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/terminfo/s
43 cp -a $install/usr/bin $fs/usr
45 # copy sample configuration
46 cp -a $install/usr/share/tmux $fs/usr/share
48 # Get screen terminfo data
49 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
50 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
51 $fs/usr/share/terminfo/s
52 rm -r $src/ncursesw-extra
53 }