wok annotate tmate/receipt @ rev 20341
Up tazlito (512)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 07 13:39:00 2018 +0200 (2018-06-07) |
parents | |
children | 7441485e30be |
rev | line source |
---|---|
pascal@20149 | 1 # SliTaz package receipt. |
pascal@20149 | 2 |
pascal@20149 | 3 PACKAGE="tmate" |
pascal@20149 | 4 VERSION="2.2.1" |
pascal@20149 | 5 CATEGORY="network" |
pascal@20149 | 6 SHORT_DESC="Instant Terminal Sharing" |
pascal@20149 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20149 | 8 LICENSE="BSD" |
pascal@20149 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20149 | 10 WEB_SITE="https://tmate.io/" |
pascal@20149 | 11 WGET_URL="https://github.com/tmate-io/tmate/archive/$VERSION.tar.gz" |
pascal@20149 | 12 |
pascal@20149 | 13 DEPENDS="ncurses libevent msgpack libssh" |
pascal@20149 | 14 BUILD_DEPENDS="automake ncurses-dev libevent-dev msgpack-dev libssh-dev" |
pascal@20149 | 15 |
pascal@20149 | 16 # Rules to configure and make the package. |
pascal@20149 | 17 compile_rules() |
pascal@20149 | 18 { |
pascal@20149 | 19 ./autogen.sh |
pascal@20149 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@20149 | 21 --mandir=/usr/share/man \ |
pascal@20149 | 22 $CONFIGURE_ARGS && |
pascal@20149 | 23 make && |
pascal@20149 | 24 make DESTDIR=$DESTDIR install |
pascal@20149 | 25 } |
pascal@20149 | 26 |
pascal@20149 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20149 | 28 genpkg_rules() |
pascal@20149 | 29 { |
pascal@20149 | 30 mkdir -p $fs/usr |
pascal@20149 | 31 cp -a $install/usr/bin $fs/usr |
pascal@20149 | 32 } |