summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-03 18:33:03 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-03 18:33:03 +0000
commit66b6014139d4e4c0b0c2e21c6a08cc31c31652b0 (patch)
tree03813b44a50e84ff3998b5610cbc5350437d4ac1 /meta
parent8bc4105ddff851fc0e2c716d677b52236f6c3209 (diff)
downloadpoky-66b6014139d4e4c0b0c2e21c6a08cc31c31652b0.tar.gz
fakeroot: Clean up and convert to BBCLASSEXTEND
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/fakeroot/fakeroot-native_1.9.4.bb21
-rw-r--r--meta/packages/fakeroot/fakeroot/configure-libtool.patch (renamed from meta/packages/fakeroot/files/configure-libtool.patch)0
-rw-r--r--meta/packages/fakeroot/fakeroot_1.9.4.bb15
-rw-r--r--meta/packages/fakeroot/files/fix-prefix.patch18
4 files changed, 11 insertions, 43 deletions
diff --git a/meta/packages/fakeroot/fakeroot-native_1.9.4.bb b/meta/packages/fakeroot/fakeroot-native_1.9.4.bb
deleted file mode 100644
index 77d6f58651..0000000000
--- a/meta/packages/fakeroot/fakeroot-native_1.9.4.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1require fakeroot_${PV}.bb
2
3RDEPENDS="util-linux-native"
4
5SRC_URI += "file://fix-prefix.patch;patch=1 "
6S = "${WORKDIR}/fakeroot-${PV}"
7
8inherit native
9
10EXTRA_OECONF = " --program-prefix="
11
12# Compatability for the rare systems not using or having SYSV
13python () {
14 if bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0':
15 bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d)
16}
17
18do_stage_append () {
19 oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/
20}
21
diff --git a/meta/packages/fakeroot/files/configure-libtool.patch b/meta/packages/fakeroot/fakeroot/configure-libtool.patch
index 8830328eb5..8830328eb5 100644
--- a/meta/packages/fakeroot/files/configure-libtool.patch
+++ b/meta/packages/fakeroot/fakeroot/configure-libtool.patch
diff --git a/meta/packages/fakeroot/fakeroot_1.9.4.bb b/meta/packages/fakeroot/fakeroot_1.9.4.bb
index aaf696d79d..04219519ed 100644
--- a/meta/packages/fakeroot/fakeroot_1.9.4.bb
+++ b/meta/packages/fakeroot/fakeroot_1.9.4.bb
@@ -4,15 +4,22 @@ SECTION = "base"
4LICENSE = "GPL" 4LICENSE = "GPL"
5# fakeroot needs getopt which is provided by the util-linux package 5# fakeroot needs getopt which is provided by the util-linux package
6RDEPENDS = "util-linux" 6RDEPENDS = "util-linux"
7PR = "r1" 7PR = "r2"
8 8
9SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \ 9SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \
10 file://configure-libtool.patch;patch=1" 10 file://configure-libtool.patch;patch=1"
11 11
12inherit autotools 12inherit autotools_stage
13 13
14do_stage() { 14do_stage_append() {
15 install -d ${STAGING_INCDIR}/fakeroot 15 install -d ${STAGING_INCDIR}/fakeroot
16 install -m 644 *.h ${STAGING_INCDIR}/fakeroot 16 install -m 644 *.h ${STAGING_INCDIR}/fakeroot
17 autotools_stage_all
18} 17}
18
19# Compatability for the rare systems not using or having SYSV
20python () {
21 if bb.data.inherits_class("native", d) and bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0':
22 bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp ', d)
23}
24
25BBCLASSEXTEND = "native" \ No newline at end of file
diff --git a/meta/packages/fakeroot/files/fix-prefix.patch b/meta/packages/fakeroot/files/fix-prefix.patch
deleted file mode 100644
index 3884aca01c..0000000000
--- a/meta/packages/fakeroot/files/fix-prefix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- fakeroot-1.2.13/scripts/fakeroot.in~fix-prefix
7+++ fakeroot-1.2.13/scripts/fakeroot.in
8@@ -15,8 +15,8 @@
9 }
10
11 # strip /bin/fakeroot to find install prefix
12-PREFIX=@prefix@
13-BINDIR=@bindir@
14+BINDIR=`dirname $0`
15+PREFIX=`dirname ${BINDIR}`
16
17 LIB=lib@fakeroot_transformed@.so.0
18 PATHS=@libdir@:${PREFIX}/lib64/libfakeroot:${PREFIX}/lib32/libfakeroot