blob: 83be5f74a352c1404b27d991650242382d7f944d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id$
#-
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(TOPDIR)/rules.mk
PKG_NAME:= valgrind
PKG_VERSION:= 3.3.1
PKG_RELEASE:= 2
PKG_MD5SUM:= 0539e2fa4aadb2cd4ca4bba65b1fe8b5
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
MASTER_SITES:= http://valgrind.org/downloads/
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,VALGRIND,valgrind,$(PKG_VERSION)-$(PKG_RELEASE)))
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-tls
BUILD_STYLE= auto
INSTALL_STYLE= auto
post-install:
$(INSTALL_DIR) $(IDIR_VALGRIND)/usr/bin
$(INSTALL_DIR) $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux
$(INSTALL_BIN) $(WRKINST)/usr/bin/valgrind $(IDIR_VALGRIND)/usr/bin/
$(CP) $(WRKINST)/usr/lib/valgrind/${ARCH}-linux/* \
$(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux
rm $(IDIR_VALGRIND)/usr/lib/valgrind/${ARCH}-linux/*.a
touch $(IDIR_VALGRIND)/usr/lib/valgrind/default.supp
include ${TOPDIR}/mk/pkg-bottom.mk
|