# HG changeset patch # User Pascal Bellard # Date 1512060493 -3600 # Node ID 3ea059f6339de10752da068066e6926db082617f # Parent a78f12adc25a4bc772fbca68274c00b22c3a8987 Add tmate diff -r a78f12adc25a -r 3ea059f6339d msgpack-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/msgpack-dev/receipt Thu Nov 30 17:48:13 2017 +0100 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="msgpack-dev" +VERSION="2.1.5" +CATEGORY="development" +SHORT_DESC="MessagePack implementation for C and C++, development files" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://tmate.io/" +WANTED="msgpack" + +DEPENDS="msgpack pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/cmake $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r a78f12adc25a -r 3ea059f6339d msgpack/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/msgpack/receipt Thu Nov 30 17:48:13 2017 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="msgpack" +VERSION="2.1.5" +CATEGORY="network" +SHORT_DESC="MessagePack implementation for C and C++" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://tmate.io/" +WGET_URL="https://github.com/msgpack/msgpack-c/archive/cpp-$VERSION.tar.gz" + +BUILD_DEPENDS="cmake zlib" + +# Rules to configure and make the package. +compile_rules() +{ + cmake -DCMAKE_INSTALL_PREFIX=/usr . && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +} diff -r a78f12adc25a -r 3ea059f6339d tmate/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tmate/receipt Thu Nov 30 17:48:13 2017 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="tmate" +VERSION="2.2.1" +CATEGORY="network" +SHORT_DESC="Instant Terminal Sharing" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://tmate.io/" +WGET_URL="https://github.com/tmate-io/tmate/archive/$VERSION.tar.gz" + +DEPENDS="ncurses libevent msgpack libssh" +BUILD_DEPENDS="automake ncurses-dev libevent-dev msgpack-dev libssh-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./autogen.sh + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +}