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

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 18:04:02 2022 +0000 (2022-02-10)
parents dead8955c3ca
children 934055de50e2
rev   line source
paul@3641 1 # SliTaz package receipt.
paul@3641 2
paul@3641 3 PACKAGE="valgrind"
Hans-G?nter@22093 4 VERSION="3.15.0"
paul@3641 5 CATEGORY="development"
Hans-G?nter@22093 6 TAGS="profiler"
paul@3641 7 SHORT_DESC="Memory debugger and profiler."
paul@3641 8 MAINTAINER="paul@slitaz.org"
pascal@15098 9 LICENSE="GPL2"
Hans-G?nter@22093 10 WEB_SITE="http://valgrind.org/"
Hans-G?nter@22093 11
Hans-G?nter@22093 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@22093 13 WGET_URL="https://sourceware.org/pub/$PACKAGE/$TARBALL"
Hans-G?nter@22093 14
paul@3641 15 SUGGESTED="perl"
pascal@15098 16 DEPENDS=""
Hans-G?nter@22093 17 BUILD_DEPENDS="autoconf"
pascal@15098 18
paul@3641 19 # Rules to configure and make the package.
paul@3641 20 compile_rules()
paul@3641 21 {
Hans-G?nter@22093 22 autoconf &&
Hans-G?nter@22093 23 ./configure \
Hans-G?nter@22093 24 --prefix=/usr \
Hans-G?nter@22093 25 --infodir=/usr/share/info \
Hans-G?nter@22093 26 --mandir=/usr/share/man \
pascal@15265 27 $CONFIGURE_ARGS &&
Hans-G?nter@22093 28 make &&
Hans-G?nter@22093 29 make DESTDIR=$DESTDIR install
paul@3641 30 }
paul@3641 31
paul@3641 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3641 33 genpkg_rules()
paul@3641 34 {
paul@3641 35 mkdir -p $fs/usr/lib/valgrind
Hans-G?nter@22093 36
Hans-G?nter@22093 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22093 38 cp -a $install/usr/lib/valgrind/* $fs/usr/lib/valgrind
Hans-G?nter@22093 39
paul@3641 40 # remove static libraries
paul@4457 41 rm $fs/usr/lib/valgrind/*.*a
paul@3641 42 }