wok-6.x view valgrind/receipt @ rev 6086
Up: xorg-xf86-video-neomagic (1.2.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Aug 29 11:53:20 2010 +0200 (2010-08-29) |
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 }