wok-6.x view valgrind/receipt @ rev 10839
pingus: clean receipt and fix compile_rules so it dont build if broken
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 08 23:38:19 2011 +0200 (2011-06-08) |
parents | 0b4cf0d9e1b5 |
children | f4c4a3ce96cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="valgrind"
4 VERSION="3.6.1"
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 autoconf
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/valgrind
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/valgrind/* $fs/usr/lib/valgrind
37 # remove static libraries
38 rm $fs/usr/lib/valgrind/*.*a
39 }