summaryrefslogtreecommitdiff
path: root/packages/apr/apr-util_0.9.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/apr/apr-util_0.9.7.bb')
-rw-r--r--packages/apr/apr-util_0.9.7.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/apr/apr-util_0.9.7.bb b/packages/apr/apr-util_0.9.7.bb
new file mode 100644
index 0000000000..597c0ee93d
--- /dev/null
+++ b/packages/apr/apr-util_0.9.7.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Apache Portable Runtime (APR) companion library"
+SECTION = "libs"
+DEPENDS = "apr expat gdbm"
+MAINTAINER = "Mustafa Yuecel <yuecelm@ee.ethz.ch>"
+LICENSE = "Apache"
+HOMEPAGE = "http://apr.apache.org"
+
+PR = "r0"
+
+SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \
+ file://gen_uri_delims.patch;patch=1 \
+ file://uri_delims.h"
+
+EXTRA_OECONF = "--with-apr=${STAGING_BINDIR} --with-dbm=gdbm --with-gdbm=${STAGING_DIR}/${HOST_SYS} --with-expat=${STAGING_DIR}/${HOST_SYS}"
+
+inherit autotools lib_package binconfig
+
+do_configure() {
+ cp ${S}/../uri_delims.h ${S}/uri/.
+ oe_runconf
+}
+
+do_stage() {
+ oe_libinstall -a -so -C .libs libaprutil-0 ${STAGING_LIBDIR}
+}