wok-current rev 20149
Add tmate
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 30 17:48:13 2017 +0100 (2017-11-30) |
parents | a78f12adc25a |
children | 742a881139b7 |
files | msgpack-dev/receipt msgpack/receipt tmate/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/msgpack-dev/receipt Thu Nov 30 17:48:13 2017 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="msgpack-dev" 1.7 +VERSION="2.1.5" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="MessagePack implementation for C and C++, development files" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://tmate.io/" 1.13 +WANTED="msgpack" 1.14 + 1.15 +DEPENDS="msgpack pkg-config" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib 1.21 + cp -a $install/usr/lib/*a $fs/usr/lib 1.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 + cp -a $install/usr/lib/cmake $fs/usr/lib 1.24 + cp -a $install/usr/include $fs/usr 1.25 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/msgpack/receipt Thu Nov 30 17:48:13 2017 +0100 2.3 @@ -0,0 +1,28 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="msgpack" 2.7 +VERSION="2.1.5" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="MessagePack implementation for C and C++" 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="MIT" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="https://tmate.io/" 2.14 +WGET_URL="https://github.com/msgpack/msgpack-c/archive/cpp-$VERSION.tar.gz" 2.15 + 2.16 +BUILD_DEPENDS="cmake zlib" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cmake -DCMAKE_INSTALL_PREFIX=/usr . && 2.22 + make && 2.23 + make DESTDIR=$DESTDIR install 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + mkdir -p $fs/usr/lib 2.30 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.31 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/tmate/receipt Thu Nov 30 17:48:13 2017 +0100 3.3 @@ -0,0 +1,32 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="tmate" 3.7 +VERSION="2.2.1" 3.8 +CATEGORY="network" 3.9 +SHORT_DESC="Instant Terminal Sharing" 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="BSD" 3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.13 +WEB_SITE="https://tmate.io/" 3.14 +WGET_URL="https://github.com/tmate-io/tmate/archive/$VERSION.tar.gz" 3.15 + 3.16 +DEPENDS="ncurses libevent msgpack libssh" 3.17 +BUILD_DEPENDS="automake ncurses-dev libevent-dev msgpack-dev libssh-dev" 3.18 + 3.19 +# Rules to configure and make the package. 3.20 +compile_rules() 3.21 +{ 3.22 + ./autogen.sh 3.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 3.24 + --mandir=/usr/share/man \ 3.25 + $CONFIGURE_ARGS && 3.26 + make && 3.27 + make DESTDIR=$DESTDIR install 3.28 +} 3.29 + 3.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.31 +genpkg_rules() 3.32 +{ 3.33 + mkdir -p $fs/usr 3.34 + cp -a $install/usr/bin $fs/usr 3.35 +}