27 lines
620 B
Plaintext
27 lines
620 B
Plaintext
# Description: A debugging and profiling system for Linux programs
|
|
# URL: http://valgrind.org
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Packager: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Nice to have: gdb
|
|
|
|
name=valgrind
|
|
version=3.11.0
|
|
release=1
|
|
source=(http://$name.org/downloads/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# suppot 4.x kernels, too
|
|
sed -i 's/2.6\.\*|3\.\*/&|4.*/1' configure.ac
|
|
autoconf
|
|
|
|
sed -i 's/2.18/2.19/' configure
|
|
./configure --prefix=/usr --mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/doc
|
|
rmdir $PKG/usr/share
|
|
}
|