wok-stable view valgrind/receipt @ rev 6623

Up: tint2 to 0.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 10 01:46:48 2010 +0000 (2010-10-10)
parents f917e0dfdfbd
children 3775d01597ed
line source
1 # SliTaz package receipt.
3 PACKAGE="valgrind"
4 VERSION="3.5.0"
5 CATEGORY="development"
6 SHORT_DESC="Memory debugger and profiler."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="sed autoconf"
10 SUGGESTED="perl"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://valgrind.org/"
13 WGET_URL="http://valgrind.org/downloads/$TARBALL"
14 TAGS="profiler"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
22 # Fix build with glibc 2.11
23 #http://www.linuxfromscratch.org/patches/downloads/valgrind/valgrind-3.5.0-glibc-2.11.patch
24 patch -p1 < ../stuff/valgrind-3.5.0-glibc211.u || exit 1
25 autoconf
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/valgrind
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/lib/valgrind/* $fs/usr/lib/valgrind
41 # remove static libraries
42 rm $fs/usr/lib/valgrind/*.*a
43 }