wok view valgrind/receipt @ rev 24472

updated dd_rescue (1.99.8 -> 1.99.11)
author Hans-G?nter Theisgen
date Thu Feb 17 15:46:03 2022 +0100 (2022-02-17)
parents 1b452c5bf7a6
children cb67b4f8be05
line source
1 # SliTaz package receipt.
3 PACKAGE="valgrind"
4 VERSION="3.15.0"
5 CATEGORY="development"
6 TAGS="profiler"
7 SHORT_DESC="Memory debugger and profiler."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://valgrind.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://sourceware.org/pub/$PACKAGE/$TARBALL"
15 SUGGESTED="perl"
16 DEPENDS=""
17 BUILD_DEPENDS="autoconf"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 autoconf &&
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/valgrind
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/valgrind/* $fs/usr/lib/valgrind
47 # remove static libraries
48 rm $fs/usr/lib/valgrind/*.*a
49 }