summaryrefslogtreecommitdiffstats
path: root/valgrind/Pkgfile
blob: ac46031dc6d79c273a0485271f7a194e0b69b0f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}