Files
poky/meta/packages/fakeroot/fakeroot_1.9.4.bb
Kevin Tian 2136f753eb fakeroot: fix metadata
also no need for patch parameter if it's suffixed with .patch.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-06-30 15:44:29 -07:00

28 lines
940 B
BlitzBasic

DESCRIPTION = "Provides a fake \"root environment\" by means of LD_PRELOAD and SYSV IPC or TCP trickery"
HOMEPAGE = "http://fakeroot.alioth.debian.org/"
SECTION = "base"
LICENSE = "GPLv2"
# fakeroot needs getopt which is provided by the util-linux package
RDEPENDS = "util-linux"
RDEPENDS_virtclass-native = "util-linux-native"
PR = "r3"
SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \
file://configure-libtool.patch; \
file://absolutepaths.patch;"
inherit autotools
do_install_append() {
install -d ${D}${STAGING_INCDIR}/fakeroot/
install -m 644 *.h ${D}${STAGING_INCDIR}/fakeroot
}
# Compatability for the rare systems not using or having SYSV
python () {
if bb.data.inherits_class("native", d) and bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0':
bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp ', d)
}
BBCLASSEXTEND = "native"