1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
10 PKG_DESCR
:= apache portable runtime utility library
11 PKG_SECTION
:= libs
/misc
12 PKG_DEPENDS
:= libexpat apr
13 PKG_BUILDDEP
:= expat apr
14 PKG_URL
:= http
://apr.apache.org
/
15 PKG_SITES
:= http
://www.apache.org
/dist/apr
/
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call PKG_template
,APR_UTIL
,apr-util
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
24 CONFIGURE_ARGS
+= --without-berkeley-db \
25 --with-apr
=${STAGING_TARGET_DIR}/usr \
26 --with-expat
=${STAGING_TARGET_DIR}/usr
27 XAKE_FLAGS
+= apr_builddir
=${STAGING_TARGET_DIR}/usr
/share
/build-1 \
28 apr_builders
=${STAGING_TARGET_DIR}/usr
/share
/build-1
31 ${INSTALL_DIR} ${IDIR_APR_UTIL}/usr
/lib
32 ${CP} ${WRKINST}/usr
/lib
/libaprutil-1.so
* ${IDIR_APR_UTIL}/usr
/lib
34 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk