generic-poky/meta/packages/fakeroot/fakeroot-native_1.2.13.bb

20 lines
528 B
BlitzBasic

SECTION = "base"
PR = "r0"
require fakeroot_${PV}.bb
inherit native
SRC_URI += "file://fix-prefix.patch;patch=1"
S = "${WORKDIR}/fakeroot-${PV}"
EXTRA_OECONF = " --program-prefix="
# Compatability for the rare systems not using or having SYSV
python () {
if bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0':
bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d)
}
do_stage_append () {
oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/
}