1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,VALGRIND,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE= gnu
  16. CONFIGURE_ARGS+= --disable-tls
  17. BUILD_STYLE= auto
  18. INSTALL_STYLE= auto
  19. post-install:
  20. $(INSTALL_DIR) $(IDIR_VALGRIND)/usr/bin
  21. $(INSTALL_DIR) $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/valgrind $(IDIR_VALGRIND)/usr/bin/
  23. $(CP) $(WRKINST)/usr/lib/valgrind/${ARCH}-linux/* \
  24. $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux
  25. -rm $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux/*.a
  26. touch $(IDIR_VALGRIND)/usr/lib/valgrind/default.supp
  27. include ${TOPDIR}/mk/pkg-bottom.mk