diff --git a/network/chat/toxcore-c/actions.py b/network/chat/toxcore-c/actions.py new file mode 100644 index 0000000000..a0d0f5ca68 --- /dev/null +++ b/network/chat/toxcore-c/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools, cmaketools, pisitools, get + +j = ''.join([ + ' -DCMAKE_BUILD_TYPE=Release', + ' -DENABLE_STATIC=OFF ' + ]) + +def setup(): + pisitools.dosed("CMakeLists.txt", "RPATH", deleteLine = True) + cmaketools.configure("-B_build %s -L" % j) + +def build(): + shelltools.cd("_build") + cmaketools.make() + +def install(): + shelltools.cd("_build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/network/chat/toxcore-c/pspec.xml b/network/chat/toxcore-c/pspec.xml new file mode 100644 index 0000000000..5d6f3fe173 --- /dev/null +++ b/network/chat/toxcore-c/pspec.xml @@ -0,0 +1,71 @@ + + + + + toxcore-c + https://tox.chat/ + + fury + uglyside@yandex.ru + + GPL-3 + app + network.chat + This is an experimental cryptographic network library. + Tox is a peer to peer (serverless) instant messenger aimed at making security and privacy easy to obtain for regular users. It uses NaCl for its encryption and authentication. + + https://github.com/TokTok/c-toxcore/archive/refs/tags/v0.2.17.tar.gz + + + cmake + libvpx-devel + libopus-devel + libsocket-devel + libconfig-devel + libsodium-devel + msgpack-c-devel + + + + + toxcore-c + + libvpx + libopus + libconfig + libsodium + msgpack-c + + + /usr/bin + /usr/lib + /usr/share/bash-completion/completions + + + + + toxcore-c-devel + + toxcore-c + libvpx-devel + libopus-devel + libsocket-devel + libsodium-devel + msgpack-c-devel + + + /usr/lib/pkgconfig + /usr/include/tox + + + + + + 2022-04-14 + 0.2.17 + First build. + fury + uglyside@yandex.ru + + +