wok-next view valgrind/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 0e7893ac206d |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="valgrind"
4 VERSION="3.13.0"
5 CATEGORY="development"
6 SHORT_DESC="Memory debugger and profiler"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://valgrind.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/valgrind.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://sourceware.org/ftp/valgrind/$TARBALL"
15 BUILD_DEPENDS="perl"
16 SPLIT="valgrind-dev"
18 compile_rules() {
19 # glibc-2.26 bug
20 sed -i '1904s/4/5/' coregrind/m_syswrap/syswrap-linux.c
22 # versioned folder for docs
23 sed -i 's|/doc/valgrind||' docs/Makefile.in
25 ./configure \
26 --datadir=/usr/share/doc/valgrind-$VERSION \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 valgrind)
35 copy @std
36 SUGGESTED="perl"
37 TAGS="profiler"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }