This commit is contained in:
Rmys
2024-11-30 12:53:18 +03:00
parent 9a8a821a25
commit 9834f04217
2 changed files with 58 additions and 9 deletions
+15 -4
View File
@@ -6,17 +6,28 @@
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DQUAZIP_QT_MAJOR_VERSION=5 \
-DBUILD_WITH_QT4:BOOL=OFF")
cmaketools.configure("-B build5 -DCMAKE_INSTALL_PREFIX=/usr \
-DQUAZIP_QT_MAJOR_VERSION=5 \
-DBUILD_WITH_QT4:BOOL=OFF")
cmaketools.configure("-B build6 -DCMAKE_INSTALL_PREFIX=/usr \
-DQUAZIP_QT_MAJOR_VERSION=6 \
-DBUILD_WITH_QT4:BOOL=OFF")
def build():
cmaketools.make()
cmaketools.make("-C build5")
cmaketools.make("-C build6")
def install():
shelltools.cd("build5")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("../build6")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("COPYING", "README.md", "NEWS.txt")