librest revet
This commit is contained in:
@@ -7,34 +7,30 @@
|
||||
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():
|
||||
options = "--prefix=/usr \
|
||||
-Dgtk_doc=false \
|
||||
-Dsoup2=true \
|
||||
--sysconfdir=/etc \
|
||||
"
|
||||
--sysconfdir=/etc"
|
||||
|
||||
if get.buildTYPE() == "_emul32":
|
||||
options += " --libdir=/usr/lib32 \
|
||||
--bindir=/_emul32/bin \
|
||||
--sbindir=/_emul32/sbin \
|
||||
"
|
||||
--disable-dtrace"
|
||||
|
||||
shelltools.export("CC", "%s -m32" % get.CC())
|
||||
shelltools.export("CXX", "%s -m32" % get.CXX())
|
||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
||||
|
||||
mesontools.configure(options)
|
||||
autotools.configure(options)
|
||||
|
||||
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING*", "README*")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "README")
|
||||
Reference in New Issue
Block a user