fbset_2.1: add dependency on bison-native
[openembedded.git] / recipes / apr / apr_1.3.5.bb
blob955334f279c62700c730e86d612b82ac7b510f24
1 DESCRIPTION = "Apache Portable Runtime (APR) library"
2 SECTION = "libs"
3 LICENSE = "Apache License, Version 2.0"
5 PR = "r5"
7 SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2;name=apr135tarbz2 \
8 file://configure_fixes.patch \
9 file://cleanup.patch \
10 file://configfix.patch"
12 inherit autotools lib_package binconfig
14 OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
16 do_configure_prepend() {
17 cd ${S}
18 ./buildconf
21 do_stage() {
22 autotools_stage_all
23 install -d ${STAGING_DATADIR}/apr
24 cp ${S}/build/apr_rules.mk ${STAGING_DATADIR}/apr/
25 sed -i s,apr_builddir=.*,apr_builddir=,g ${STAGING_DATADIR}/apr/apr_rules.mk
26 sed -i s,apr_builders=.*,apr_builders=,g ${STAGING_DATADIR}/apr/apr_rules.mk
27 sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g ${STAGING_DATADIR}/apr/apr_rules.mk
28 sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g ${STAGING_DATADIR}/apr/apr_rules.mk
29 cp ${S}/build/mkdir.sh ${STAGING_DATADIR}/apr/
30 cp ${S}/build/make_exports.awk ${STAGING_DATADIR}/apr/
31 cp ${S}/build/make_var_export.awk ${STAGING_DATADIR}/apr/
34 SRC_URI[apr135tarbz2.md5sum] = "9ac9a00eaa190937fdbbde7b4f03ac1e"
35 SRC_URI[apr135tarbz2.sha256sum] = "a33d360b70a9c7971651b3810513d7a85ca84d13ddfc1cb96d6cb0af76aab574"