miniupnpc.

This commit is contained in:
4fury-c3440d8
2022-11-10 14:07:23 +03:00
parent 921881d85b
commit 2e72c1ad35
2 changed files with 18 additions and 6 deletions
+8 -3
View File
@@ -9,10 +9,15 @@ from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DUPNPC_BUILD_STATIC=OFF',
' -Bbuild -L '
])
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure('-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -L', sourceDir = '..')
cmaketools.configure(j)
def build():
pythonmodules.compile(pyVer = '3')