wok-stable view valgrind/receipt @ rev 3930
Update: binutils (toolprefixed binaries with default binutil symlinks; needed for builds expecting toolprefixed binutil binaries when a target platform [e.g. i486-pc-linux-gnu] is specified)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Wed Aug 19 16:02:07 2009 +0000 (2009-08-19) |
parents | |
children | ea514bf41b60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="valgrind"
4 VERSION="3.4.1"
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/x86-linux/*.*a
36 }