wok-next view valgrind/receipt @ rev 19703

Up bird (1.6.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 26 12:29:37 2017 +0200 (2017-04-26)
parents 3d840ea6007e
children 8349c568aa66
line source
1 # SliTaz package receipt.
3 PACKAGE="valgrind"
4 VERSION="3.8.1"
5 CATEGORY="development"
6 SHORT_DESC="Memory debugger and profiler."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="perl"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://valgrind.org/"
12 WGET_URL="http://valgrind.org/downloads/$TARBALL"
13 TAGS="profiler"
15 DEPENDS=""
16 BUILD_DEPENDS="sed autoconf"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 autoconf
22 sed -i 's/|clang-4../&|clang-5.*|clang-6.*/' configure*
23 sed -i 's/notclang-4../&|notclang-5.*|notclang-6.*/' configure*
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/valgrind
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/valgrind/* $fs/usr/lib/valgrind
38 # remove static libraries
39 rm $fs/usr/lib/valgrind/*.*a
40 }