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