wok view valgrind/receipt @ rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents 3775d01597ed
children 6836a4e66c05
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 || return 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 }