Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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.3.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= cc2ec0ba4f01d88375f1170f762518fa
  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. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,APR_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --without-berkeley-db
  17. CONFIGURE_ARGS+= --with-apr=${STAGING_TARGET_DIR}/usr
  18. CONFIGURE_ARGS+= --with-expat=${STAGING_TARGET_DIR}/usr
  19. XAKE_FLAGS+= apr_builddir=${STAGING_TARGET_DIR}/usr/share/build-1 \
  20. apr_builders=${STAGING_TARGET_DIR}/usr/share/build-1
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_APR_UTIL}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libaprutil-1.so* ${IDIR_APR_UTIL}/usr/lib/
  24. include ${TOPDIR}/mk/pkg-bottom.mk