This commit is contained in:
4fury-c3440d8
2022-11-10 09:32:57 +03:00
parent 862054bd26
commit d82aa47dbf
2 changed files with 14 additions and 4 deletions
+5 -2
View File
@@ -9,12 +9,13 @@ from pisi.actionsapi import shelltools, cmaketools, pisitools, get
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DDHT_BOOTSTRAP=OFF',
' -DENABLE_STATIC=OFF '
' -DENABLE_STATIC=OFF',
' -B_build -L '
])
def setup():
pisitools.dosed("CMakeLists.txt", "RPATH", deleteLine = True)
cmaketools.configure("-B_build %s -L" % j)
cmaketools.configure(j)
def build():
shelltools.cd("_build")
@@ -22,5 +23,7 @@ def build():
def install():
pisitools.insinto("/etc", "other/bootstrap_daemon/tox-bootstrapd.conf")
shelltools.chmod("%s/etc/tox-bootstrapd.conf" % get.installDIR(), mode = 0644)
shelltools.cd("_build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())