wok diff tmux/receipt @ rev 23150

updated lxc and lxc-dev (3.1.0 -> 3.2.1)
author Hans-G?nter Theisgen
date Sun Mar 15 16:17:33 2020 +0100 (2020-03-15)
parents 20661c276bcf
children e0b89d2b47d1
line diff
     1.1 --- a/tmux/receipt	Sun Jan 27 17:42:10 2019 +0100
     1.2 +++ b/tmux/receipt	Sun Mar 15 16:17:33 2020 +0100
     1.3 @@ -1,42 +1,46 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tmux"
     1.7 -VERSION="2.0"
     1.8 +VERSION="2.9"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Terminal multiplexer."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 +WEB_SITE="https://github.com/tmux/tmux/wiki"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://github.com/tmux/tmux/wiki"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL"
    1.19 +
    1.20 +DEPENDS="libevent ncursesw"
    1.21 +BUILD_DEPENDS="libevent-dev ncursesw-dev"
    1.22 +
    1.23  HOST_ARCH="i486 arm"
    1.24  
    1.25 -DEPENDS="ncursesw libevent"
    1.26 -BUILD_DEPENDS="ncursesw-dev libevent-dev"
    1.27 -
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 +	export LDFLAGS="$LDFLAGS -ltinfo"
    1.32 +
    1.33  	./configure $CONFIGURE_ARGS &&
    1.34  	make PREFIX=/usr &&
    1.35  	make PREFIX=/usr install &&
    1.36  	install -d m755 "$DESTDIR/usr/share/tmux/" &&
    1.37 -	install -m 644 examples/* "$DESTDIR/usr/share/tmux/"
    1.38 +	install -m 644 example_tmux.conf	$DESTDIR/usr/share/tmux/
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr/share/terminfo/s/
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46  
    1.47 -	# copy sample configs
    1.48 -	cp -a $install/usr/share/tmux $fs/usr/share
    1.49 +	cp -a $install/usr/bin		$fs/usr
    1.50 +
    1.51 +	# copy sample configuration
    1.52 +	cp -a $install/usr/share/tmux	$fs/usr/share
    1.53  
    1.54  	# Get screen terminfo data
    1.55  	tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1
    1.56  	cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \
    1.57 -	$fs/usr/share/terminfo/s/
    1.58 +					$fs/usr/share/terminfo/s/
    1.59  	rm -r $src/ncursesw-extra
    1.60  }
    1.61 -