diff --git a/system/base/attr/actions.py b/system/base/attr/actions.py index f67de0d2..26122f4a 100644 --- a/system/base/attr/actions.py +++ b/system/base/attr/actions.py @@ -7,6 +7,7 @@ from pisi.actionsapi import get from pisi.actionsapi import autotools from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools suffix = "32" if get.buildTYPE() == "emul32" else "" bindir = "/tmp" if get.buildTYPE() == "emul32" else "/bin" @@ -25,4 +26,9 @@ def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) if get.buildTYPE() == "emul32": + shelltools.copytree("%s/lib32/pkgconfig" % get.installDIR(), "%s/usr/lib32/pkgconfig" % get.installDIR()) pisitools.removeDir("/tmp") + pisitools.removeDir("/lib32/pkgconfig") + return + shelltools.copytree("%s/lib/pkgconfig" % get.installDIR(), "%s/usr/lib/pkgconfig" % get.installDIR()) + pisitools.removeDir("/lib/pkgconfig") diff --git a/system/base/attr/pspec.xml b/system/base/attr/pspec.xml index 7106db66..cc382daf 100644 --- a/system/base/attr/pspec.xml +++ b/system/base/attr/pspec.xml @@ -37,6 +37,8 @@ /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig /usr/share/man/man3