wok view tmate/receipt @ rev 24406

updated clamav and clamav-dev (0.102.3 -> 0.104.2)
author Hans-G?nter Theisgen
date Wed Feb 09 13:44:54 2022 +0100 (2022-02-09)
parents 41171364a8b6
children 0262035dc1e7
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh
28 export LIBNCURSES_LIBS="/lib/libncurses.so"
29 export LIBNCURSES_FLAGS=" "
30 export LIBS="/lib/libtinfo.so"
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr/bin $fs/usr
46 }