Makefile 987 B

12345678910111213141516171819202122232425262728293031
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= apr-util
  7. PKG_VERSION:= 0.9.15
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= dc772ae295f49ddb8ee8e69a9716c53b
  10. MASTER_SITES:= http://apache.mirror.clusters.cc/apr/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,APR_UTIL,$(PKG_NAME),${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ARGS+= --without-berkeley-db
  15. CONFIGURE_ARGS+= --with-apr=${STAGING_DIR}/usr
  16. CONFIGURE_ARGS+= --with-expat=${STAGING_DIR}/usr
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. XAKE_FLAGS+= apr_builddir=${STAGING_DIR}/usr/share/build \
  20. apr_builders=${STAGING_DIR}/usr/share/build
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_APR_UTIL}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libaprutil-0.so* ${IDIR_APR_UTIL}/usr/lib/
  24. include ${TOPDIR}/mk/pkg-bottom.mk