wok-next view valgrind/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 1ff723a6455b
children d5aab818505e
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/svn/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 }