wok-6.x view valgrind/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 934055de50e2 |
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 # 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 }