libsigc++ rebuild

This commit is contained in:
Rmys
2020-12-17 13:47:40 +03:00
committed by GitHub
parent 2294bedb2a
commit 0a43dcd1ee
2 changed files with 12 additions and 24 deletions
+6 -13
View File
@@ -6,30 +6,23 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import get
def setup():
mesontools.configure("-Dbuild-documentation=true")
#shelltools.system("sh ./autogen.sh")
#autotools.autoreconf("-fiv")
# dont waste time building examples, docs and tests
#pisitools.dosed("Makefile.in", " tests examples docs")
pisitools.dosed("Makefile.in", " tests examples docs")
#autotools.configure("--disable-static enable-shared=yes ENABLE_DOCUMENTATION=no")
autotools.configure("--disable-static")
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
mesontools.build()
#autotools.make()
autotools.make()
def install():
mesontools.install()
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.removeDir("/usr/share/devhelp")
pisitools.removeDir("/usr/share/devhelp")
#move html docs to html doc dir
pisitools.dodir("/usr/share/doc/%s/html" % get.srcNAME())