angstrom: fix busybox regression by adding 'ipv4 ipv6' to DISTRO_FEATURES
[openembedded.git] / recipes / apr / apr_1.2.7.bb
blobcfb6e30582435978ca0008a0a32a9cb90298b65e
1 DESCRIPTION = "Apache Portable Runtime (APR) library"
2 SECTION = "libs"
3 LICENSE = "Apache License, Version 2.0"
5 PR = "r2"
7 # apache mirrors?
8 SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
9 file://configure_fixes.patch"
11 inherit autotools lib_package binconfig
13 OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
15 do_configure() {
16 oe_runconf
19 do_stage() {
20 autotools_stage_all
21 install -d ${STAGING_DATADIR}/apr
22 cp ${S}/build/apr_rules.mk ${STAGING_DATADIR}/apr/
23 sed -i s,apr_builddir=.*,apr_builddir=,g ${STAGING_DATADIR}/apr/apr_rules.mk
24 sed -i s,apr_builders=.*,apr_builders=,g ${STAGING_DATADIR}/apr/apr_rules.mk
25 sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g ${STAGING_DATADIR}/apr/apr_rules.mk
26 sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g ${STAGING_DATADIR}/apr/apr_rules.mk
27 cp ${S}/build/mkdir.sh ${STAGING_DATADIR}/apr/
28 cp ${S}/build/make_exports.awk ${STAGING_DATADIR}/apr/
29 cp ${S}/build/make_var_export.awk ${STAGING_DATADIR}/apr/
32 SRC_URI[md5sum] = "e77887dbafc515c63feac84686bcb3bc"
33 SRC_URI[sha256sum] = "384437f3c4eb7d53ad27fdadce6cbc295ef16653b7f7739a480d91c784082ec9"