valgrind: depend on glibc-dbg now that we have libc dbg pkgs.

This commit is contained in:
Juan RP 2013-02-07 14:23:03 +01:00
parent 42f5d806fd
commit ceafaf1297
2 changed files with 7 additions and 10 deletions

View file

@ -1,11 +1,11 @@
# Template file for 'valgrind' # Template file for 'valgrind'
pkgname=valgrind pkgname=valgrind
version=3.8.1 version=3.8.1
revision=2 revision=3
subpackages="${pkgname}-devel" subpackages="${pkgname}-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-tls --with-mpicc=/dev/null" configure_args="--enable-tls --with-mpicc=/dev/null"
depends="glibc>=2.17<2.18" depends="glibc>=2.17<2.18 glibc-dbg>=2.17<2.18"
makedepends="pkg-config" makedepends="pkg-config"
fulldepends="perl>=0" fulldepends="perl>=0"
short_desc="Tool for finding memory management bugs in programs" short_desc="Tool for finding memory management bugs in programs"

View file

@ -1,14 +1,11 @@
# Template file for 'valgrind-devel'. # Template file for 'valgrind-devel'.
# #
depends="valgrind>=${version}" depends="valgrind>=${version}"
short_desc="${short_desc} (development files)" short_desc="${short_desc} -- development files"
do_install() { do_install() {
install -d ${DESTDIR}/usr/lib/valgrind vmove usr/include usr
install -d ${DESTDIR}/usr/share vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/valgrind/*.a" usr/lib/valgrind
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr vmove usr/share/doc usr/share
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/valgrind/*.a ${DESTDIR}/usr/lib/valgrind
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
} }