diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2011-07-28 14:33:35 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-04 15:04:33 +0100 |
commit | af415b4d16c65d95a989677abeaa1f28d06b6030 (patch) | |
tree | ebdb894731f9ae602e0219a68f8f778ade2a90e2 /meta/recipes-support/apr/apr_1.4.2.bb | |
parent | e69dd2f5098895db62e9d61e500f5252e21441a2 (diff) | |
download | poky-af415b4d16c65d95a989677abeaa1f28d06b6030.tar.gz |
apr: Upgrade to 1.4.5
Remove buildconf_fix.patch as already in upstream.
(From OE-Core rev: e66e0886412b2f1a564babbaa83095c86e5ec65c)
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Merged with ${BPN} change
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/apr/apr_1.4.2.bb')
-rw-r--r-- | meta/recipes-support/apr/apr_1.4.2.bb | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/meta/recipes-support/apr/apr_1.4.2.bb b/meta/recipes-support/apr/apr_1.4.2.bb deleted file mode 100644 index 2d5edaa9c5..0000000000 --- a/meta/recipes-support/apr/apr_1.4.2.bb +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | DESCRIPTION = "Apache Portable Runtime (APR) library" | ||
2 | HOMEPAGE = "http://apr.apache.org/" | ||
3 | SECTION = "libs" | ||
4 | |||
5 | LICENSE = "Apache-2.0" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \ | ||
7 | file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96" | ||
8 | |||
9 | PR = "r1" | ||
10 | |||
11 | SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ | ||
12 | file://configure_fixes.patch;patch=1 \ | ||
13 | file://cleanup.patch;patch=1 \ | ||
14 | file://configfix.patch;patch=1 \ | ||
15 | file://buildconf_fix.patch;patch=1" | ||
16 | |||
17 | SRC_URI[md5sum] = "4b00e8f70c067893d075577962656b35" | ||
18 | SRC_URI[sha256sum] = "2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391" | ||
19 | |||
20 | inherit autotools lib_package binconfig multilib_header | ||
21 | |||
22 | OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'" | ||
23 | |||
24 | do_configure_prepend() { | ||
25 | cd ${S} | ||
26 | ./buildconf | ||
27 | } | ||
28 | |||
29 | #for some reason, build/libtool.m4 handled by buildconf still be overwritten | ||
30 | #when autoconf, so handle it again. | ||
31 | do_configure_append() { | ||
32 | cd ${S} | ||
33 | sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/libtool.m4 | ||
34 | sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/apr_rules.mk | ||
35 | } | ||
36 | |||
37 | do_install_append() { | ||
38 | oe_multilib_header apr.h | ||
39 | } | ||
40 | |||
41 | SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess" | ||
42 | |||
43 | apr_sysroot_preprocess () { | ||
44 | d=${SYSROOT_DESTDIR}${datadir}/apr | ||
45 | install -d $d/ | ||
46 | cp ${S}/build/apr_rules.mk $d/ | ||
47 | sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk | ||
48 | sed -i s,apr_builders=.*,apr_builders=,g $d/apr_rules.mk | ||
49 | sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g $d/apr_rules.mk | ||
50 | sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g $d/apr_rules.mk | ||
51 | cp ${S}/build/mkdir.sh $d/ | ||
52 | cp ${S}/build/make_exports.awk $d/ | ||
53 | cp ${S}/build/make_var_export.awk $d/ | ||
54 | } | ||