summaryrefslogtreecommitdiff
path: root/package/valgrind
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/valgrind
Initial import
Diffstat (limited to 'package/valgrind')
-rw-r--r--package/valgrind/Config.in6
-rw-r--r--package/valgrind/Makefile33
-rw-r--r--package/valgrind/ipkg/valgrind.control4
3 files changed, 43 insertions, 0 deletions
diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in
new file mode 100644
index 000000000..f9b7e51da
--- /dev/null
+++ b/package/valgrind/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_VALGRIND
+ prompt "valgrind.......................... a memory error detector and more"
+ tristate
+ default n
+ help
+ http://valgrind.org/
diff --git a/package/valgrind/Makefile b/package/valgrind/Makefile
new file mode 100644
index 000000000..23977c0b4
--- /dev/null
+++ b/package/valgrind/Makefile
@@ -0,0 +1,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),$(ARCH)))
+
+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
diff --git a/package/valgrind/ipkg/valgrind.control b/package/valgrind/ipkg/valgrind.control
new file mode 100644
index 000000000..306e9a21c
--- /dev/null
+++ b/package/valgrind/ipkg/valgrind.control
@@ -0,0 +1,4 @@
+Package: valgrind
+Priority: optional
+Section: utils
+Description: memory management debugging