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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= apr-util
  5. PKG_VERSION:= 1.5.3
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 76db34cb508e346e3bf69347c29ed1500bf0b71bcc48d54271ad9d1c25703743
  8. PKG_DESCR:= apache portable runtime utility library
  9. PKG_SECTION:= libs/misc
  10. PKG_DEPENDS:= libexpat apr
  11. PKG_BUILDDEP:= expat apr
  12. PKG_URL:= http://apr.apache.org/
  13. PKG_SITES:= http://apache.cs.utah.edu/apr/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk