Files
2021-04-24 14:33:06 +03:00

21 lines
589 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
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
def setup():
shelltools.system("cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DQML_BOX2D_LIBRARY=/usr/lib/qt/qml/Box2D.2.0")
def build():
shelltools.system("make -C build")
def install():
shelltools.system("make -C build DESTDIR=%s" % get.installDIR() + " install")