wok-current view tmate/receipt @ rev 25593

Use default gcc 6.3 for flac
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 31 19:04:33 2023 +0000 (15 months ago)
parents 41171364a8b6
children
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 }