Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.5.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f03522a4687cf76c676c9494fcc0a517
  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_TARGET_DEPENDS:= x86 x86_64
  13. PKG_HOST_DEPENDS:= !darwin
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,VALGRIND,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= ac_cv_file__proc_self_fd=yes \
  18. ac_cv_file__proc_self_exe=yes \
  19. ac_cv_file__proc_self_maps=yes
  20. CONFIGURE_ARGS+= --disable-tls
  21. post-install:
  22. $(INSTALL_DIR) $(IDIR_VALGRIND)/usr/bin
  23. $(INSTALL_DIR) $(IDIR_VALGRIND)/usr/lib/valgrind
  24. $(INSTALL_BIN) $(WRKINST)/usr/bin/valgrind $(IDIR_VALGRIND)/usr/bin/
  25. $(CP) $(WRKINST)/usr/lib/valgrind/* \
  26. $(IDIR_VALGRIND)/usr/lib/valgrind
  27. touch $(IDIR_VALGRIND)/usr/lib/valgrind/default.supp
  28. include ${TOPDIR}/mk/pkg-bottom.mk