summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/fakeroot/fakeroot-native_1.2.13.bb1
-rw-r--r--meta/packages/fakeroot/fakeroot_1.2.13.bb11
2 files changed, 11 insertions, 1 deletions
diff --git a/meta/packages/fakeroot/fakeroot-native_1.2.13.bb b/meta/packages/fakeroot/fakeroot-native_1.2.13.bb
index eb58e92b6e..9d48d65229 100644
--- a/meta/packages/fakeroot/fakeroot-native_1.2.13.bb
+++ b/meta/packages/fakeroot/fakeroot-native_1.2.13.bb
@@ -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}"
diff --git a/meta/packages/fakeroot/fakeroot_1.2.13.bb b/meta/packages/fakeroot/fakeroot_1.2.13.bb
index 8ae7ca38be..e29cf162b4 100644
--- a/meta/packages/fakeroot/fakeroot_1.2.13.bb
+++ b/meta/packages/fakeroot/fakeroot_1.2.13.bb
@@ -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
+}