gobject-introspection 1.62.0

This commit is contained in:
idriskalp
2019-12-26 18:00:29 +03:00
parent 8b34b490cd
commit 8ef5e935ee
2 changed files with 28 additions and 7 deletions
+19 -5
View File
@@ -12,16 +12,30 @@ from pisi.actionsapi import get
def setup():
#autotools.autoreconf("-fiv")
autotools.configure("--disable-static \
--disable-doctool")
#autotools.configure("--disable-static \
#--disable-doctool")
options = " --libdir=/usr/lib \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--prefix=/usr"
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson .. %s" % options)
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
#autotools.make()
shelltools.cd("build")
shelltools.system("ninja")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())