From 57196537f09f6c23322443a49ab79ad9df97a324 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 13 Mar 2009 22:30:08 +0100 Subject: [PATCH] Added valgrind-3.4.1 template. --HG-- extra : convert_revision : c307aa491962517aab9c6c1322b1f314b7a0154c --- templates/valgrind-devel | 1 + templates/valgrind/devel.template | 16 ++++++++++++++++ templates/valgrind/template | 21 +++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 120000 templates/valgrind-devel create mode 100644 templates/valgrind/devel.template create mode 100644 templates/valgrind/template diff --git a/templates/valgrind-devel b/templates/valgrind-devel new file mode 120000 index 00000000000..96ba9bf84c3 --- /dev/null +++ b/templates/valgrind-devel @@ -0,0 +1 @@ +valgrind \ No newline at end of file diff --git a/templates/valgrind/devel.template b/templates/valgrind/devel.template new file mode 100644 index 00000000000..3af18307543 --- /dev/null +++ b/templates/valgrind/devel.template @@ -0,0 +1,16 @@ +# Template file for 'valgrind-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run valgrind + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/templates/valgrind/template b/templates/valgrind/template new file mode 100644 index 00000000000..94466ac393c --- /dev/null +++ b/templates/valgrind/template @@ -0,0 +1,21 @@ +# Template file for 'valgrind' +pkgname=valgrind +sourcepkg=$pkgname +version=3.4.1 +distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--mandir=/usr/share/man" +make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install" +short_desc="Tool for finding memory management bugs in programs" +maintainer="Juan RP " +checksum=669ee7aab8a3a905520159b6d7be35d3911e1a4d7a67d90dc1c12c00693184a9 +long_desc=" + Valgrind is a tool to help you find memory-management problems in your + programs. When a program is run under Valgrind's supervision, all + reads and writes of memory are checked, and calls to + malloc/new/free/delete are intercepted. As a result, Valgrind can + detect a lot of problems that are otherwise very hard to find/diagnose." + +subpackages="devel" +Add_dependency full glibc +Add_dependency full perl