From f03ee49f25b802ba0a20ca0839c08bf998c95b17 Mon Sep 17 00:00:00 2001 From: Rmys Date: Thu, 29 Nov 2018 22:25:38 +0300 Subject: [PATCH] attr:rebuild --- system/base/attr/actions.py | 6 ++++++ system/base/attr/pspec.xml | 2 ++ 2 files changed, 8 insertions(+) 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