aboutsummaryrefslogtreecommitdiffstats
path: root/packages/fakeroot/fakeroot-native_1.7.1.bb
blob: 6f2969e1816b5a3d1a3caa6be7fccdb3017257b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SECTION = "base"
require fakeroot_${PV}.bb
inherit native
RDEPENDS="util-linux-native"

SRC_URI += "file://fix-prefix.patch;patch=1 \
	    file://work-with-older-libtool.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/
}