summaryrefslogtreecommitdiff
path: root/meta/packages/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/valgrind')
-rw-r--r--meta/packages/valgrind/files/makefile_fix.patch20
-rw-r--r--meta/packages/valgrind/valgrind_3.2.1.bb17
2 files changed, 37 insertions, 0 deletions
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"