wok-next view tmux/receipt @ rev 20079

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
parents 4be14acc67dd
children c4e53a39395a
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="2.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tmux.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses libevent"
15 BUILD_DEPENDS="ncurses-dev libevent-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS &&
21 make PREFIX=/usr &&
22 make PREFIX=/usr install &&
23 install -d m755 "$DESTDIR/usr/share/tmux/" &&
24 install -m 644 examples/* "$DESTDIR/usr/share/tmux/"
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/terminfo/s/
31 cp -a $install/usr/bin $fs/usr
33 # copy sample configs
34 cp -a $install/usr/share/tmux $fs/usr/share
36 # Get screen terminfo data
37 tazpkg get-install ncurses-extra --root=$src/ncurses-extra >/dev/null 2>&1
38 cp -a $src/ncurses-extra/usr/share/terminfo/s/screen \
39 $fs/usr/share/terminfo/s/
40 rm -r $src/ncurses-extra
41 }