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.5.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f03522a4687cf76c676c9494fcc0a517
  8. PKG_DESCR:= memory management debugging
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://valgrind.org
  11. PKG_SITES:= http://valgrind.org/downloads/
  12. PKG_TARGET_DEPENDS:= x86 x86_64
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,VALGRIND,${PKG_NAME},$(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. post-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