wok-6.x annotate tmate/receipt @ rev 24783
Up apache-ant (1.10.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:11:06 2022 +0000 (2022-03-20) |
parents | 41171364a8b6 |
children |
rev | line source |
---|---|
pascal@20149 | 1 # SliTaz package receipt. |
pascal@20149 | 2 |
pascal@20149 | 3 PACKAGE="tmate" |
Hans-G?nter@23705 | 4 VERSION="2.4.0" |
pascal@20149 | 5 CATEGORY="network" |
Hans-G?nter@21572 | 6 SHORT_DESC="Instant Terminal Sharing." |
pascal@20149 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20149 | 8 LICENSE="BSD" |
Hans-G?nter@21572 | 9 WEB_SITE="https://tmate.io/" |
Hans-G?nter@21572 | 10 |
pascal@20149 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21572 | 12 WGET_URL="https://github.com/tmate-io/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@20149 | 13 |
Hans-G?nter@21572 | 14 DEPENDS="libevent libssh msgpack ncurses" |
Hans-G?nter@21572 | 15 BUILD_DEPENDS="automake libevent-dev libssh-dev msgpack-dev ncurses-dev" |
pascal@20149 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@20149 | 23 # Rules to configure and make the package. |
pascal@20149 | 24 compile_rules() |
pascal@20149 | 25 { |
pascal@20149 | 26 ./autogen.sh |
Hans-G?nter@21572 | 27 |
Hans-G?nter@21572 | 28 export LIBNCURSES_LIBS="/lib/libncurses.so" |
Hans-G?nter@21572 | 29 export LIBNCURSES_FLAGS=" " |
Hans-G?nter@21572 | 30 export LIBS="/lib/libtinfo.so" |
Hans-G?nter@21572 | 31 |
Hans-G?nter@21572 | 32 ./configure \ |
Hans-G?nter@21572 | 33 --prefix=/usr \ |
Hans-G?nter@21572 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@21572 | 35 --mandir=/usr/share/man \ |
pascal@20149 | 36 $CONFIGURE_ARGS && |
pascal@20149 | 37 make && |
pascal@20149 | 38 make DESTDIR=$DESTDIR install |
pascal@20149 | 39 } |
pascal@20149 | 40 |
pascal@20149 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20149 | 42 genpkg_rules() |
pascal@20149 | 43 { |
pascal@20149 | 44 mkdir -p $fs/usr |
Hans-G?nter@23705 | 45 cp -a $install/usr/bin $fs/usr |
pascal@20149 | 46 } |