Tox messaging protocol: msgpack-c

This commit is contained in:
4fury-c3440d8
2022-04-16 02:52:36 +03:00
parent 04baf45b1c
commit 7809d90ea9
2 changed files with 77 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/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([
' -DMSGPACK_BUILD_EXAMPLES=OFF',
' -DMSGPACK_ENABLE_STATIC=OFF '
])
def setup():
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())