# Description: An open-source memory debugger for x86-GNU/Linux
# URL: http://valgrind.org
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu

name=valgrind
version=3.2.1
release=1
source=(http://$name.org/downloads/$name-$version.tar.bz2)

build() {
	cd $name-$version
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share
}