From 255a9274241c54b59612f4095dbb10ad18c94aec Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 29 Nov 2006 13:36:11 +0000 Subject: Add valgrind git-svn-id: https://svn.o-hand.com/repos/poky/trunk@978 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/valgrind/files/makefile_fix.patch | 20 ++++++++++++++++++++ meta/packages/valgrind/valgrind_3.2.1.bb | 17 +++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta/packages/valgrind/files/makefile_fix.patch create mode 100644 meta/packages/valgrind/valgrind_3.2.1.bb (limited to 'meta') diff --git a/meta/packages/valgrind/files/makefile_fix.patch b/meta/packages/valgrind/files/makefile_fix.patch new file mode 100644 index 000000000..1a7bb4895 --- /dev/null +++ b/meta/packages/valgrind/files/makefile_fix.patch @@ -0,0 +1,20 @@ + VEX/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: valgrind-3.2.1/VEX/Makefile +=================================================================== +--- valgrind-3.2.1.orig/VEX/Makefile 2006-08-28 14:39:42.000000000 +0100 ++++ valgrind-3.2.1/VEX/Makefile 2006-11-29 13:52:36.000000000 +0000 +@@ -64,10 +64,10 @@ PUB_INCLUDES = -Ipub + PRIV_INCLUDES = -Ipriv + + +-ifndef $(CC) ++ifndef CC + CC = gcc + endif +-ifndef $(AR) ++ifndef AR + AR = ar + endif + diff --git a/meta/packages/valgrind/valgrind_3.2.1.bb b/meta/packages/valgrind/valgrind_3.2.1.bb new file mode 100644 index 000000000..a03a290ef --- /dev/null +++ b/meta/packages/valgrind/valgrind_3.2.1.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Valgrind memory debugger" +DEPENDS = "virtual/libx11" +HOMEPAGE = "http://www.valgrind.org/" +LICENSE = "GPL" + +SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ + file://makefile_fix.patch;patch=1" + +S = "${WORKDIR}/valgrind-${PV}" + +COMPATIBLE_HOST = 'i.86.*-linux' + +inherit autotools + +EXTRA_OECONF = "--enable-tls" + +FILES = "${bindir}/bin" -- cgit v1.2.3