aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-application-manager/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc')
-rw-r--r--meta-application-manager/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-application-manager/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc b/meta-application-manager/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc
new file mode 100644
index 0000000..914d02b
--- /dev/null
+++ b/meta-application-manager/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc
@@ -0,0 +1,18 @@
+SRC_URI += "file://Add_extralib.diff"
+SRC_URI_append_class-native = " file://remove-dlog-for-native-build.patch"
+
+do_compile_prepend_class-native() {
+ sed -i "s@"/usr/bin/pkginfo@"${STAGING_BINDIR_NATIVE}/pkginfo@g" ${S}/tool/pkg_initdb.c
+}
+
+do_install_append() {
+ rm -fr "${D}${prefix}/bin/pkgcmd.real"
+ rm -fr "${D}${prefix}/bin/pkgcmd.wrapper"
+}
+
+RDEPENDS_${PN}_remove_class-native = "systemd-native"
+DEPENDS_remove_class-native = "dlog-native"
+
+RDEPENDS_${PN}-client += "pkgmgr-server"
+
+EXTRA_OECMAKE+="-DCMAKE_AR:PATH=ar" \ No newline at end of file