wok annotate tmux/receipt @ rev 22392

ffserver removed in ffmpeg >= 4.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 01 11:07:17 2019 +0100 (2019-12-01)
parents 20661c276bcf
children e0b89d2b47d1
rev   line source
paul@5858 1 # SliTaz package receipt.
paul@5858 2
paul@5858 3 PACKAGE="tmux"
Hans-G?nter@22044 4 VERSION="2.9"
paul@5858 5 CATEGORY="utilities"
paul@5858 6 SHORT_DESC="Terminal multiplexer."
paul@5858 7 MAINTAINER="paul@slitaz.org"
pascal@15601 8 LICENSE="MIT"
Hans-G?nter@22044 9 WEB_SITE="https://github.com/tmux/tmux/wiki"
Hans-G?nter@22044 10
paul@5858 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22044 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL"
Hans-G?nter@22044 13
Hans-G?nter@22044 14 DEPENDS="libevent ncursesw"
Hans-G?nter@22044 15 BUILD_DEPENDS="libevent-dev ncursesw-dev"
Hans-G?nter@22044 16
pankso@16116 17 HOST_ARCH="i486 arm"
paul@5858 18
paul@5858 19 # Rules to configure and make the package.
paul@5858 20 compile_rules()
paul@5858 21 {
Hans-G?nter@22044 22 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@22044 23
gokhlayeh@11573 24 ./configure $CONFIGURE_ARGS &&
gokhlayeh@9104 25 make PREFIX=/usr &&
gokhlayeh@9104 26 make PREFIX=/usr install &&
erjo@9924 27 install -d m755 "$DESTDIR/usr/share/tmux/" &&
Hans-G?nter@22044 28 install -m 644 example_tmux.conf $DESTDIR/usr/share/tmux/
paul@5858 29 }
paul@5858 30
paul@5858 31 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@5858 32 genpkg_rules()
paul@5858 33 {
gokhlayeh@9104 34 mkdir -p $fs/usr/share/terminfo/s/
paul@5858 35
Hans-G?nter@22044 36 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22044 37
Hans-G?nter@22044 38 # copy sample configuration
Hans-G?nter@22044 39 cp -a $install/usr/share/tmux $fs/usr/share
gokhlayeh@9104 40
paul@13532 41 # Get screen terminfo data
pascal@9114 42 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
gokhlayeh@9104 43 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
Hans-G?nter@22044 44 $fs/usr/share/terminfo/s/
gokhlayeh@9104 45 rm -r $src/ncursesw-extra
paul@5858 46 }