wok-next view tmux/receipt @ rev 20487

nareto: update config.ini.php path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:58:05 2018 +0100 (2018-03-12)
parents 0c247ee1a841
children 8e1b2a143eb3
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"
13 DEPENDS="ncurses libevent"
14 BUILD_DEPENDS="ncurses-dev libevent-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 make PREFIX=/usr &&
21 make PREFIX=/usr install &&
22 install -d m755 "$DESTDIR/usr/share/tmux/" &&
23 install -m 644 examples/* "$DESTDIR/usr/share/tmux/"
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/terminfo/s/
30 cp -a $install/usr/bin $fs/usr
32 # copy sample configs
33 cp -a $install/usr/share/tmux $fs/usr/share
35 # Get screen terminfo data
36 tazpkg get-install ncurses-extra --root=$src/ncurses-extra >/dev/null 2>&1
37 cp -a $src/ncurses-extra/usr/share/terminfo/s/screen \
38 $fs/usr/share/terminfo/s/
39 rm -r $src/ncurses-extra
40 }