summaryrefslogtreecommitdiff
path: root/packages/apr/apr-util_0.9.7.bb
blob: 597c0ee93d7fba20f4a64a638c0c63517ced6cc0 (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
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}
}