Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= valgrind
  5. PKG_VERSION:= 3.7.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a855fda56edf05614f099dca316d1775
  8. PKG_DESCR:= memory management debugging
  9. PKG_SECTION:= debug
  10. PKG_URL:= http://valgrind.org/
  11. PKG_SITES:= http://valgrind.org/downloads/
  12. PKG_ARCH_DEPENDS:= x86 x86_64 native arm
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,VALGRIND,valgrind,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= ac_cv_file__proc_self_fd=yes \
  17. ac_cv_file__proc_self_exe=yes \
  18. ac_cv_file__proc_self_maps=yes
  19. CONFIGURE_ARGS+= --disable-tls
  20. valgrind-install:
  21. $(INSTALL_DIR) $(IDIR_VALGRIND)/usr/bin
  22. $(INSTALL_DIR) $(IDIR_VALGRIND)/usr/lib/valgrind
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/valgrind $(IDIR_VALGRIND)/usr/bin/
  24. $(CP) $(WRKINST)/usr/lib/valgrind/* \
  25. $(IDIR_VALGRIND)/usr/lib/valgrind
  26. touch $(IDIR_VALGRIND)/usr/lib/valgrind/default.supp
  27. include ${TOPDIR}/mk/pkg-bottom.mk