wok-stable view valgrind/receipt @ rev 5855

xfmedia: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 17 00:19:22 2010 +0200 (2010-07-17)
parents ea514bf41b60
children 9760c1c80a57
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"
14 TAGS="profiler"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/valgrind
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/valgrind/* $fs/usr/lib/valgrind
35 # remove static libraries
36 rm $fs/usr/lib/valgrind/*.*a
37 }