blob: 11b9147fe4d5e1c0f15fd991e550bb4d09f379bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
DESCRIPTION = "Apache Portable Runtime (APR) library"
SECTION = "libs"
LICENSE = "Apache License, Version 2.0"
PR = "r4"
SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2;name=apr135tarbz2 \
file://configure_fixes.patch;patch=1 \
# file://cleanup.patch;patch=1 \
file://configfix.patch;patch=1"
inherit autotools lib_package binconfig
OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
do_configure_prepend() {
cd ${S}
./buildconf
}
do_stage() {
autotools_stage_all
install -d ${STAGING_DATADIR}/apr
cp ${S}/build/apr_rules.mk ${STAGING_DATADIR}/apr/
sed -i s,apr_builddir=.*,apr_builddir=,g ${STAGING_DATADIR}/apr/apr_rules.mk
sed -i s,apr_builders=.*,apr_builders=,g ${STAGING_DATADIR}/apr/apr_rules.mk
sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g ${STAGING_DATADIR}/apr/apr_rules.mk
sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g ${STAGING_DATADIR}/apr/apr_rules.mk
cp ${S}/build/mkdir.sh ${STAGING_DATADIR}/apr/
cp ${S}/build/make_exports.awk ${STAGING_DATADIR}/apr/
cp ${S}/build/make_var_export.awk ${STAGING_DATADIR}/apr/
}
SRC_URI[apr135tarbz2.md5sum] = "9ac9a00eaa190937fdbbde7b4f03ac1e"
SRC_URI[apr135tarbz2.sha256sum] = "a33d360b70a9c7971651b3810513d7a85ca84d13ddfc1cb96d6cb0af76aab574"
|