Added valgrind-3.4.1 template.

--HG--
extra : convert_revision : c307aa491962517aab9c6c1322b1f314b7a0154c
This commit is contained in:
Juan RP 2009-03-13 22:30:08 +01:00
parent 045a31efe2
commit 57196537f0
3 changed files with 38 additions and 0 deletions

1
templates/valgrind-devel Symbolic link
View file

@ -0,0 +1 @@
valgrind

View file

@ -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
}

View file

@ -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 <xtraeme@gmail.com>"
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