wok-6.x view tmux/receipt @ rev 24824

updated libsdl2-image and libsdl2-image-dev (2.0.4 -> 2.0.5)
author Hans-G?nter Theisgen
date Wed Mar 23 16:49:16 2022 +0100 (2022-03-23)
parents 5ea0ce1cecc0
children 03bcf02499ab
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 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 PREFIX=/usr install &&
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 }