fakeroot: Sync with OE.dev (and fix -native RDEPENDS)
authorRichard Purdie <richard@openedhand.com>
Tue, 21 Nov 2006 11:44:54 +0000 (11:44 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 21 Nov 2006 11:44:54 +0000 (11:44 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@915 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/fakeroot/fakeroot-native_1.2.13.bb
meta/packages/fakeroot/fakeroot_1.2.13.bb

index eb58e92..9d48d65 100644 (file)
@@ -2,6 +2,7 @@ SECTION = "base"
 PR = "r0"
 require fakeroot_${PV}.bb
 inherit native
+RDEPENDS="util-linux-native"
 
 SRC_URI += "file://fix-prefix.patch;patch=1"
 S = "${WORKDIR}/fakeroot-${PV}"
index 8ae7ca3..e29cf16 100644 (file)
@@ -1,8 +1,17 @@
 DESCRIPTION = "Gives a fake root environment"
-SECTION = "base"
 HOMEPAGE = "http://joostje.op.het.net/fakeroot/index.html"
+SECTION = "base"
 LICENSE = "GPL"
+# fakeroot needs getopt which is provided by the util-linux package
+RDEPENDS = "util-linux"
+PR = "r1"
 
 SRC_URI = "http://openzaurus.org/mirror/fakeroot_${PV}.tar.gz"
 
 inherit autotools
+
+do_stage() {
+        install -d ${STAGING_INCDIR}/fakeroot
+        install -m 644 *.h ${STAGING_INCDIR}/fakeroot
+        autotools_stage_all
+}