# HG changeset patch # User Pascal Bellard # Date 1482939827 -3600 # Node ID 828875cd651146a051889f06f6d2aa9ae4a41e55 # Parent 3c0cc6bf8f2b3e5e1ee3caa8fb7a82ce8cfc51f6 Add cryptpad diff -r 3c0cc6bf8f2b -r 828875cd6511 cryptpad/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cryptpad/receipt Wed Dec 28 16:43:47 2016 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="cryptpad" +VERSION="0.3.0" +CATEGORY="network" +SHORT_DESC="CryptPad is the zero knowledge realtime collaborative editor." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="AGPL3" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://cryptpad.fr/" +WGET_URL="https://github.com/xwiki-labs/cryptpad/archive/$VERSION.tar.gz" +CONFIG_FILES="/etc/cryptpad/config.js" + +DEPENDS="node" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/node_modules $fs/etc/cryptpad + cp -a $src $fs/usr/lib/node_modules/cryptpad + cp $src/config.js.dist $fs/etc/cryptpad/config.js + ln -s /etc/cryptpad/config.js $fs/usr/lib/node_modules/cryptpad/ +} + +post_install() +{ + chroot $1/ /bin/sh <