21 lines
521 B
Python
21 lines
521 B
Python
#!/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 cmaketools, pisitools, shelltools, get
|
|
|
|
def setup():
|
|
shelltools.system("sed -i 's:-Werror::' CMakeLists.txt")
|
|
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -L")
|
|
|
|
def build():
|
|
cmaketools.make()
|
|
|
|
def install():
|
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
|
|
|
pisitools.dodoc("AUTHORS", "README.md")
|
|
|