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:= 0.9.15
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= expat apr
  8. PKG_MD5SUM:= dc772ae295f49ddb8ee8e69a9716c53b
  9. PKG_DESCR:= Apache Portable Runtime utility library
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= libexpat 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_STYLE:= gnu
  17. CONFIGURE_ARGS+= --without-berkeley-db
  18. CONFIGURE_ARGS+= --with-apr=${STAGING_DIR}/usr
  19. CONFIGURE_ARGS+= --with-expat=${STAGING_DIR}/usr
  20. BUILD_STYLE:= auto
  21. INSTALL_STYLE:= auto
  22. XAKE_FLAGS+= apr_builddir=${STAGING_DIR}/usr/share/build \
  23. apr_builders=${STAGING_DIR}/usr/share/build
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_APR_UTIL}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libaprutil-0.so* ${IDIR_APR_UTIL}/usr/lib/
  27. include ${TOPDIR}/mk/pkg-bottom.mk