aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-application-framework/pkgmgr/pkgmgr-extraconf.inc
blob: 914d02beacb4700c3605385087e6c7ffb56e8a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"