diff --git a/templates/valgrind-devel b/templates/valgrind-devel new file mode 120000 index 0000000000..96ba9bf84c --- /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 0000000000..3af1830754 --- /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 0000000000..94466ac393 --- /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