wok-4.x view valgrind/receipt @ rev 8096
Fixed linux-module-headers again. Need xen folder to compile 3rd party modules.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jan 22 13:56:50 2011 +0000 (2011-01-22) |
parents | 9760c1c80a57 |
children | 0b4cf0d9e1b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="valgrind"
4 VERSION="3.6.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.6.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 }