Makefile 1.2 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.3.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 0539e2fa4aadb2cd4ca4bba65b1fe8b5
  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_STYLE= gnu
  17. CONFIGURE_ARGS+= --disable-tls
  18. BUILD_STYLE= auto
  19. INSTALL_STYLE= auto
  20. post-install:
  21. $(INSTALL_DIR) $(IDIR_VALGRIND)/usr/bin
  22. $(INSTALL_DIR) $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/valgrind $(IDIR_VALGRIND)/usr/bin/
  24. $(CP) $(WRKINST)/usr/lib/valgrind/${ARCH}-linux/* \
  25. $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux
  26. -rm $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux/*.a
  27. touch $(IDIR_VALGRIND)/usr/lib/valgrind/default.supp
  28. include ${TOPDIR}/mk/pkg-bottom.mk