wok-6.x annotate valgrind/receipt @ rev 17252

claws-mail: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 14:21:26 2014 +0200 (2014-10-19)
parents 7b9b6a2063d5
children 1b452c5bf7a6
rev   line source
paul@3641 1 # SliTaz package receipt.
paul@3641 2
paul@3641 3 PACKAGE="valgrind"
pascal@15098 4 VERSION="3.8.1"
paul@3641 5 CATEGORY="development"
paul@3641 6 SHORT_DESC="Memory debugger and profiler."
paul@3641 7 MAINTAINER="paul@slitaz.org"
pascal@15098 8 LICENSE="GPL2"
paul@3641 9 SUGGESTED="perl"
paul@3641 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@3641 11 WEB_SITE="http://valgrind.org/"
paul@3641 12 WGET_URL="http://valgrind.org/downloads/$TARBALL"
jozee@4975 13 TAGS="profiler"
paul@3641 14
pascal@15098 15 DEPENDS=""
pascal@15098 16 BUILD_DEPENDS="sed autoconf"
pascal@15098 17
paul@3641 18 # Rules to configure and make the package.
paul@3641 19 compile_rules()
paul@3641 20 {
erjo@5890 21 autoconf
paul@3641 22 ./configure \
paul@3641 23 --prefix=/usr \
paul@3641 24 --infodir=/usr/share/info \
paul@3641 25 --mandir=/usr/share/man \
pascal@15265 26 $CONFIGURE_ARGS &&
pascal@15098 27 make && make DESTDIR=$DESTDIR install
paul@3641 28 }
paul@3641 29
paul@3641 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3641 31 genpkg_rules()
paul@3641 32 {
paul@3641 33 mkdir -p $fs/usr/lib/valgrind
pascal@15098 34 cp -a $install/usr/bin $fs/usr
pascal@15098 35 cp -a $install/usr/lib/valgrind/* $fs/usr/lib/valgrind
paul@3641 36 # remove static libraries
paul@4457 37 rm $fs/usr/lib/valgrind/*.*a
paul@3641 38 }