diff options
Diffstat (limited to 'meta/recipes-support/apr/apr-util_1.3.12.bb')
-rw-r--r-- | meta/recipes-support/apr/apr-util_1.3.12.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.3.12.bb b/meta/recipes-support/apr/apr-util_1.3.12.bb new file mode 100644 index 0000000000..6635202da5 --- /dev/null +++ b/meta/recipes-support/apr/apr-util_1.3.12.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | DESCRIPTION = "Apache Portable Runtime (APR) companion library" | ||
2 | HOMEPAGE = "http://apr.apache.org/" | ||
3 | SECTION = "libs" | ||
4 | DEPENDS = "apr expat gdbm" | ||
5 | |||
6 | LICENSE = "Apache-2.0" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \ | ||
8 | file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42" | ||
9 | |||
10 | PR = "r0" | ||
11 | |||
12 | SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.gz \ | ||
13 | file://configfix.patch \ | ||
14 | file://configure_fixes.patch" | ||
15 | |||
16 | SRC_URI[md5sum] = "d1977289889592ef998e3f777f68efe4" | ||
17 | SRC_URI[sha256sum] = "815b6fc82950f61050a5e711a7f3c20fd9b6ffcc7a4cacfe9f291fb241210cd8" | ||
18 | |||
19 | EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ | ||
20 | --without-odbc \ | ||
21 | --with-dbm=gdbm \ | ||
22 | --with-gdbm=${STAGING_DIR_HOST}${prefix} \ | ||
23 | --without-sqlite2 \ | ||
24 | --without-sqlite3 \ | ||
25 | --with-expat=${STAGING_DIR_HOST}${prefix}" | ||
26 | |||
27 | |||
28 | inherit autotools lib_package binconfig | ||
29 | |||
30 | OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'" | ||
31 | |||
32 | do_configure_prepend() { | ||
33 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk | ||
34 | } | ||
35 | |||
36 | FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" | ||
37 | FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.*" | ||
38 | FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*" | ||
39 | |||