[oe-commits] Lucian Ion : update apr util library to version 1.3.7

git version control git at git.openembedded.org
Sun Jan 24 10:39:19 UTC 2010


Module: openembedded.git
Branch: holger/staging-branch
Commit: 2b9fecc906e53ade4bf42e85a40632ceb611b60b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2b9fecc906e53ade4bf42e85a40632ceb611b60b

Author: Lucian Ion <lucian_ion_2000 at yahoo.com>
Date:   Mon Jun  8 01:42:54 2009 +0000

update apr util library to version 1.3.7

+[http://www.apache.org/dist/apr/apr-util-1.3.7.tar.gz]
+md5=0a6802ef6d874db645150ae4a75f41fa
+sha256=fadd6a0c55596b2c21375942e3acefc33715e647ed4770dc398d08d8783a39e0
+

>From de8a775aac5dda2997cb8c132070b12cb2e13dd0 Mon Sep 17 00:00:00 2001
From: Lucian Ion <lucian_ion_2000 at yahoo.com>
Date: Mon, 8 Jun 2009 12:14:21 +0100
Subject: [PATCH] apr-util update to version 1.3.7 - new recipe

---

 recipes/apr/apr-util_1.3.7.bb |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/recipes/apr/apr-util_1.3.7.bb b/recipes/apr/apr-util_1.3.7.bb
new file mode 100644
index 0000000..6b2e9cc
--- /dev/null
+++ b/recipes/apr/apr-util_1.3.7.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "Apache Portable Runtime (APR) companion library"
+SECTION = "libs"
+DEPENDS = "apr expat gdbm"
+LICENSE = "Apache License, Version 2.0"
+
+PR = "r5"
+
+SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \
+           file://configfix.patch;patch=1 \
+           file://configure_fixes.patch;patch=1"
+
+EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ 
+		--with-dbm=gdbm \
+		--with-gdbm=${STAGING_DIR_HOST}${layout_prefix} \
+		--without-sqlite2 \
+		--without-sqlite3 \
+		--with-expat=${STAGING_DIR_HOST}${layout_prefix}"
+
+
+inherit autotools_stage lib_package binconfig
+
+OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
+
+do_configure_prepend() {
+	cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
+	echo "AC_PROG_LIBTOOL" >> ${S}/configure.in
+}
+
+do_configure_append() {
+	sed -i -e  s:apr_builders=/usr/share/build-1:apr_builders=${STAGING_DATADIR}/build-1:g ${S}/build/rules.mk
+	sed -i /^LIBTOOL/d ${S}/build/rules.mk
+	echo LIBTOOL="${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool --tag=CC" >> ${S}/build/rules.mk
+}
+





More information about the Openembedded-commits mailing list