wok-current view valgrind/receipt @ rev 25787
Adjust minimal kernel version for glibc
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Jul 29 18:07:04 2025 +0000 (2 months ago) |
| parents | cb67b4f8be05 |
| children |
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="https://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 HOST_ARCH="i486 x86_64"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 autoconf &&
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/valgrind
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/valgrind/* $fs/usr/lib/valgrind
49 # remove static libraries
50 rm $fs/usr/lib/valgrind/*.*a
51 }