]> code.ossystems Code Review - openembedded-core.git/commitdiff
fakechroot: Add from OE.dev
authorRichard Purdie <richard@openedhand.com>
Mon, 25 Aug 2008 20:42:41 +0000 (20:42 +0000)
committerRichard Purdie <richard@openedhand.com>
Mon, 25 Aug 2008 20:42:41 +0000 (20:42 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5096 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/fakechroot/fakechroot-native_2.5.bb [new file with mode: 0644]
meta/packages/fakechroot/fakechroot_2.5.bb [new file with mode: 0644]

diff --git a/meta/packages/fakechroot/fakechroot-native_2.5.bb b/meta/packages/fakechroot/fakechroot-native_2.5.bb
new file mode 100644 (file)
index 0000000..efd41c7
--- /dev/null
@@ -0,0 +1,12 @@
+SECTION = "base"
+PR = "r0"
+require fakechroot_${PV}.bb
+inherit native
+
+S = "${WORKDIR}/fakechroot-${PV}"
+
+EXTRA_OECONF = " --program-prefix="
+
+do_stage_append () {
+    oe_libinstall -so libfakechroot ${STAGING_LIBDIR}/libfakechroot/
+}
diff --git a/meta/packages/fakechroot/fakechroot_2.5.bb b/meta/packages/fakechroot/fakechroot_2.5.bb
new file mode 100644 (file)
index 0000000..c791512
--- /dev/null
@@ -0,0 +1,7 @@
+SECTION = "base"
+DESCRIPTION = "Gives a fake root environment which can support chroot"
+LICENSE = "GPL"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/f/fakechroot/fakechroot_${PV}.orig.tar.gz"
+
+inherit autotools