fix preselection of instructions set
[openadk.git] / package / apr-util / Makefile
blob7046779ac496051a82ad100e68fa171d28cd1efd
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
6 PKG_NAME:= apr-util
7 PKG_VERSION:= 1.6.1
8 PKG_RELEASE:= 1
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/
16 PKG_OPTS:= dev
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
30 apr-util-install:
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