diff options
Diffstat (limited to 'extra/valgrind/Pkgfile')
-rwxr-xr-x | extra/valgrind/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/valgrind/Pkgfile b/extra/valgrind/Pkgfile new file mode 100755 index 000000000..ac46031dc --- /dev/null +++ b/extra/valgrind/Pkgfile @@ -0,0 +1,23 @@ +# Description: Outils de detection de problemes dans la gestion mémoire par un programme +# URL: http://valgrind.org/ +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: gdb +# Run on: gdb + +name=valgrind +version=3.7.0 +release=1 +source=( http://valgrind.org/downloads/$name-$version.tar.bz2) + +build() { + cd $name-* + if [ "${CARCH}" = "x86_64" ]; then + ./configure --prefix=/usr --mandir=/usr/share/man --enable-only64bit + else + ./configure --prefix=/usr --mandir=/usr/share/man + fi + make + make DESTDIR=$PKG install +} + |