From 082c4e2440582cf44fbc65ba97ba3577da95ff4b Mon Sep 17 00:00:00 2001 From: Qing He Date: Fri, 10 Dec 2010 14:03:42 +0800 Subject: fakeroot: upgrade to version 1.14.5 from 1.14.4 changes: - install to ${includedir} instead of ${STAGING_INCDIR} - fakeroot has long been under GPLv3 Signed-off-by: Qing He --- meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb (limited to 'meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb') diff --git a/meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb b/meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb new file mode 100644 index 000000000..2d2604f27 --- /dev/null +++ b/meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb @@ -0,0 +1,38 @@ +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 = "GPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" + +# fakeroot needs getopt which is provided by the util-linux package +RDEPENDS = "util-linux" +RDEPENDS_virtclass-native = "util-linux-native" +PR = "r0" +PROVIDES += "virtual/fakeroot" + +SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \ + file://absolutepaths.patch" + +inherit autotools + +do_configure_prepend() { + # fakeroot's own bootstrap includes other autoreconf stuff we don't need here + # so manually create the aux directory + mkdir -p ${S}/build-aux +} + +do_install_append() { + install -d ${D}${includedir}/fakeroot/ + install -m 644 *.h ${D}${includedir}/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" + +SRC_URI[md5sum] = "659a1f3a36554abfc2a3eaad2fdc0604" +SRC_URI[sha256sum] = "b035c834944bf9482027f48c388de8492e96609825265ac03f05408d0b3aae68" -- cgit v1.2.3