Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= apr-util
  5. PKG_VERSION:= 1.4.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 666a5d56098a9debf998510e304c8095
  8. PKG_DESCR:= apache portable runtime utility library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libexpat apr
  11. PKG_BUILDDEP:= expat apr
  12. PKG_URL:= http://apr.apache.org/
  13. PKG_SITES:= http://apache.mirror.clusters.cc/apr/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,APR_UTIL,apr-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIGURE_ARGS+= --without-berkeley-db \
  19. --with-apr=${STAGING_TARGET_DIR}/usr \
  20. --with-expat=${STAGING_TARGET_DIR}/usr
  21. XAKE_FLAGS+= apr_builddir=${STAGING_TARGET_DIR}/usr/share/build-1 \
  22. apr_builders=${STAGING_TARGET_DIR}/usr/share/build-1
  23. apr-util-install:
  24. ${INSTALL_DIR} ${IDIR_APR_UTIL}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libaprutil-1.so* ${IDIR_APR_UTIL}/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk