quazip
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user