summaryrefslogtreecommitdiff
path: root/packages/fakeroot
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fakeroot')
-rw-r--r--packages/fakeroot/.mtn2git_empty0
-rw-r--r--packages/fakeroot/fakeroot-native_1.2.13.bb13
-rw-r--r--packages/fakeroot/fakeroot_1.2.13.bb8
-rw-r--r--packages/fakeroot/files/.mtn2git_empty0
-rw-r--r--packages/fakeroot/files/fix-prefix.patch18
5 files changed, 39 insertions, 0 deletions
diff --git a/packages/fakeroot/.mtn2git_empty b/packages/fakeroot/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fakeroot/.mtn2git_empty
diff --git a/packages/fakeroot/fakeroot-native_1.2.13.bb b/packages/fakeroot/fakeroot-native_1.2.13.bb
index e69de29bb2..73614911c5 100644
--- a/packages/fakeroot/fakeroot-native_1.2.13.bb
+++ b/packages/fakeroot/fakeroot-native_1.2.13.bb
@@ -0,0 +1,13 @@
+SECTION = "base"
+PR = "r0"
+include fakeroot_${PV}.bb
+inherit native
+
+SRC_URI += "file://fix-prefix.patch;patch=1"
+S = ${WORKDIR}/fakeroot-${PV}
+
+EXTRA_OECONF = "--program-prefix="
+
+do_stage_append () {
+ oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/
+}
diff --git a/packages/fakeroot/fakeroot_1.2.13.bb b/packages/fakeroot/fakeroot_1.2.13.bb
index e69de29bb2..e1fd5ebfee 100644
--- a/packages/fakeroot/fakeroot_1.2.13.bb
+++ b/packages/fakeroot/fakeroot_1.2.13.bb
@@ -0,0 +1,8 @@
+SECTION = "base"
+DESCRIPTION = "Gives a fake root environment"
+HOMEPAGE = "http://joostje.op.het.net/fakeroot/index.html"
+LICENSE = "GPL"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz"
+
+inherit autotools
diff --git a/packages/fakeroot/files/.mtn2git_empty b/packages/fakeroot/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fakeroot/files/.mtn2git_empty
diff --git a/packages/fakeroot/files/fix-prefix.patch b/packages/fakeroot/files/fix-prefix.patch
index e69de29bb2..3884aca01c 100644
--- a/packages/fakeroot/files/fix-prefix.patch
+++ b/packages/fakeroot/files/fix-prefix.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- fakeroot-1.2.13/scripts/fakeroot.in~fix-prefix
++++ fakeroot-1.2.13/scripts/fakeroot.in
+@@ -15,8 +15,8 @@
+ }
+
+ # strip /bin/fakeroot to find install prefix
+-PREFIX=@prefix@
+-BINDIR=@bindir@
++BINDIR=`dirname $0`
++PREFIX=`dirname ${BINDIR}`
+
+ LIB=lib@fakeroot_transformed@.so.0
+ PATHS=@libdir@:${PREFIX}/lib64/libfakeroot:${PREFIX}/lib32/libfakeroot