diff --git a/system/base/libXdmcp/actions.py b/system/base/libXdmcp/actions.py index 2fbb68da..b61e7c41 100644 --- a/system/base/libXdmcp/actions.py +++ b/system/base/libXdmcp/actions.py @@ -5,13 +5,23 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): - autotools.autoreconf("-fi") + options = "--disable-static \ + --prefix=/usr \ + --without-xmlto" - autotools.configure("--disable-static \ - --without-xmlto") + if get.buildTYPE() == "_emul32": + options += " --libdir=/usr/lib32" + + autotools.autoreconf("-fi") + autotools.configure(options) + + + # autotools.configure("--disable-static \ + # --without-xmlto") def build(): autotools.make() @@ -19,4 +29,8 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + if get.buildTYPE() == "_emul32": + return + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README*") diff --git a/system/base/libXdmcp/pspec.xml b/system/base/libXdmcp/pspec.xml index ce3dfcb6..a7e5bfe4 100644 --- a/system/base/libXdmcp/pspec.xml +++ b/system/base/libXdmcp/pspec.xml @@ -49,9 +49,9 @@ libXdmcp-32bit - emul32 + _emul32 32-bit shared libraries for libXdmcp - emul32 + _emul32