wok-stable view valgrind/receipt @ rev 4601
Up: task (1.8.5)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 13 19:24:05 2009 +0000 (2009-12-13) |
parents | 90af71b96a7f |
children | f917e0dfdfbd |
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"
10 SUGGESTED="perl"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://valgrind.org/"
13 WGET_URL="http://valgrind.org/downloads/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/valgrind
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/valgrind/* $fs/usr/lib/valgrind
34 # remove static libraries
35 rm $fs/usr/lib/valgrind/*.*a
36 }