Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= log4cxx
  5. PKG_VERSION:= 0.10.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b30ffb8da3665178e68940ff7a61084c
  8. PKG_DESCR:= Apache logging framework for C++
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= apr apr-util
  11. PKG_BUILDDEP:= apr apr-util
  12. PKG_URL:= http://logging.apache.org/log4cxx/
  13. PKG_SITES:= http://www.apache.org/dist/logging/log4cxx/0.10.0/
  14. DISTFILES:= apache-${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. WRKDIST= ${WRKDIR}/apache-${PKG_NAME}-${PKG_VERSION}
  16. PKG_ARCH_DEPENDS:= !cris
  17. PKG_SUBPKGS:= LOG4CXX LOG4CXX_DEV
  18. PKGSD_LOG4CXX_DEV:= log4cxx development headers
  19. PKGSC_LOG4CXX_DEV:= devel
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,LOG4CXX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,LOG4CXX_DEV,${PKG_NAME}_dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LOG4CXX_DEV},${PKGSC_LOG4CXX_DEV}))
  23. log4cxx-install:
  24. ${INSTALL_DIR} ${IDIR_LOG4CXX}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/*.a ${IDIR_LOG4CXX}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_LOG4CXX}/usr/lib
  27. log4cxx_dev-install:
  28. ${INSTALL_DIR} ${IDIR_LOG4CXX_DEV}/usr/include
  29. ${CP} ${WRKINST}/usr/include/* ${IDIR_LOG4CXX_DEV}/usr/include
  30. include ${TOPDIR}/mk/pkg-bottom.mk