wok-current view tmate/receipt @ rev 24012

Add adbfs-rootless, up pcem (17)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 11 17:59:34 2021 +0000 (2021-02-11)
parents 0721e701c55a
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="tmate"
4 VERSION="2.4.0"
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 }