jsoncpp: ver. bump to 1.9.2

This commit is contained in:
suvari
2020-03-01 15:24:22 +03:00
parent 4bd08b2786
commit c2492e7336
4 changed files with 24 additions and 20 deletions
+10 -12
View File
@@ -1,25 +1,23 @@
#!/usr/bin/env python
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import get
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
def setup():
cmaketools.configure("-DCMAKE_BUILD_TYPE=release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DJSONCPP_WITH_CMAKE_PACKAGE=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=OFF \
-DCMAKE_INSTALL_LIBDIR=/usr/lib")
mesontools.configure()
def build():
cmaketools.make()
mesontools.build()
def check():
mesontools.build("test")
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
mesontools.install()
pisitools.dodoc("AUTHORS", "LICENSE", "README*")