wok-6.x view tmate/receipt @ rev 22599

Up snapper (0.8.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 07 19:13:38 2020 +0100 (2020-01-07)
parents 7441485e30be
children 41171364a8b6
line source
1 # SliTaz package receipt.
3 PACKAGE="tmate"
4 VERSION="2.3.1"
5 CATEGORY="network"
6 SHORT_DESC="Instant Terminal Sharing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://tmate.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/tmate-io/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="libevent libssh msgpack ncurses"
15 BUILD_DEPENDS="automake libevent-dev libssh-dev msgpack-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh
22 export LIBNCURSES_LIBS="/lib/libncurses.so"
23 export LIBNCURSES_FLAGS=" "
24 export LIBS="/lib/libtinfo.so"
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }