summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Ion <lucian_ion_2000@yahoo.com>2009-06-08 01:39:24 +0000
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-03-04 15:56:14 +0100
commit21272c27fabe7cf908b8b79d21fdd6fcfc2d7c43 (patch)
treefd6563c5a35852242cfd9eabd9a43be4f9456a93
parent2c4a52f99d1758386705e3027fa7e954096681c7 (diff)
update-apr-library-version-to-1.3.5
+[http://www.apache.org/dist/apr/apr-1.3.5.tar.bz2] +md5=9ac9a00eaa190937fdbbde7b4f03ac1e +sha256=a33d360b70a9c7971651b3810513d7a85ca84d13ddfc1cb96d6cb0af76aab574 + >From 6193a25e065b44da0a4b3b8a95d8f00c64f3f982 Mon Sep 17 00:00:00 2001 From: Lucian Ion <lucian_ion_2000@yahoo.com> Date: Mon, 8 Jun 2009 11:59:16 +0100 Subject: [PATCH] update apr library version to 1.3.5 - new recipe Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
-rw-r--r--recipes/apr/apr_1.3.5.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/apr/apr_1.3.5.bb b/recipes/apr/apr_1.3.5.bb
new file mode 100644
index 0000000000..11b9147fe4
--- /dev/null
+++ b/recipes/apr/apr_1.3.5.bb
@@ -0,0 +1,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"