diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-core/fakeroot | |
parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
download | meta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-core/fakeroot')
4 files changed, 82 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb b/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb new file mode 100644 index 000000000..e6add2bb2 --- /dev/null +++ b/meta-oe/recipes-core/fakeroot/fakeroot-native_1.12.4.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | require fakeroot_${PV}.bb | ||
2 | |||
3 | SRC_URI += "file://fix-prefix.patch" | ||
4 | S = "${WORKDIR}/fakeroot-${PV}" | ||
5 | |||
6 | inherit native | ||
7 | |||
8 | EXTRA_OECONF = "--program-prefix=" | ||
9 | |||
10 | # Compatability for the rare systems not using or having SYSV | ||
11 | python () { | ||
12 | if bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0': | ||
13 | bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d) | ||
14 | } | ||
15 | |||
16 | NATIVE_INSTALL_WORKS = "1" | ||
17 | |||
18 | RDEPENDS_${PN} = "util-linux-native" | ||
19 | |||
20 | SRC_URI[md5sum] = "aaefede2405a40c87438e7e833d69b70" | ||
21 | SRC_URI[sha256sum] = "dbcab1f495b857e67feff882e018ca59958b8d189ff1f76684d28e35463ec29d" | ||
diff --git a/meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch b/meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch new file mode 100644 index 000000000..46f7df702 --- /dev/null +++ b/meta-oe/recipes-core/fakeroot/fakeroot/configure-libtool.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Index: fakeroot-1.12.1/configure.ac | ||
2 | =================================================================== | ||
3 | --- fakeroot-1.12.1.orig/configure.ac | ||
4 | +++ fakeroot-1.12.1/configure.ac | ||
5 | @@ -2,14 +2,12 @@ | ||
6 | AC_INIT([fakeroot],[FAKEROOT_VERSION],[schizo@debian.org],[fakeroot]) | ||
7 | AC_PREREQ(2.61) | ||
8 | AC_CONFIG_MACRO_DIR([build-aux]) | ||
9 | -LT_PREREQ(2.1a) | ||
10 | AC_CANONICAL_TARGET | ||
11 | AM_INIT_AUTOMAKE | ||
12 | AM_MAINTAINER_MODE | ||
13 | AC_CONFIG_HEADERS([config.h]) | ||
14 | AC_PROG_MAKE_SET | ||
15 | -LT_INIT | ||
16 | -LT_LANG(C) | ||
17 | +AC_PROG_LIBTOOL | ||
18 | |||
19 | AH_BOTTOM([#if ! HAVE_BUILTIN_EXPECT | ||
20 | #define __builtin_expect(x, expected_value) (x) | ||
diff --git a/meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch b/meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch new file mode 100644 index 000000000..3c47bd765 --- /dev/null +++ b/meta-oe/recipes-core/fakeroot/fakeroot/fix-prefix.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Index: fakeroot-1.12.1/scripts/fakeroot.in | ||
2 | =================================================================== | ||
3 | --- fakeroot-1.12.1.orig/scripts/fakeroot.in | ||
4 | +++ fakeroot-1.12.1/scripts/fakeroot.in | ||
5 | @@ -30,8 +30,8 @@ | ||
6 | } | ||
7 | |||
8 | # strip /bin/fakeroot to find install prefix | ||
9 | -PREFIX=@prefix@ | ||
10 | -BINDIR=@bindir@ | ||
11 | +BINDIR=`dirname $0` | ||
12 | +PREFIX=`dirname ${BINDIR}` | ||
13 | |||
14 | USEABSLIBPATH=@LDPRELOADABS@ | ||
15 | LIB=lib@fakeroot_transformed@@DLSUFFIX@ | ||
diff --git a/meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb b/meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb new file mode 100644 index 000000000..c265749f6 --- /dev/null +++ b/meta-oe/recipes-core/fakeroot/fakeroot_1.12.4.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "Gives a fake root environment" | ||
2 | HOMEPAGE = "http://fakeroot.alioth.debian.org" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "GPL" | ||
5 | PR = "r2" | ||
6 | |||
7 | SRC_URI = "\ | ||
8 | ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \ | ||
9 | file://configure-libtool.patch \ | ||
10 | " | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | do_install_append() { | ||
15 | install -d ${D}${includedir}/fakeroot | ||
16 | install -m 644 *.h ${D}${includedir}/fakeroot | ||
17 | install -d ${D}${libdir}/libfakeroot/ | ||
18 | oe_libinstall -so libfakeroot ${D}${libdir}/libfakeroot/ | ||
19 | } | ||
20 | |||
21 | # fakeroot needs getopt which is provided by the util-linux package | ||
22 | RDEPENDS_${PN} = "util-linux" | ||
23 | |||
24 | |||
25 | SRC_URI[md5sum] = "aaefede2405a40c87438e7e833d69b70" | ||
26 | SRC_URI[sha256sum] = "dbcab1f495b857e67feff882e018ca59958b8d189ff1f76684d28e35463ec29d" | ||