wok-next view valgrind/receipt @ rev 21037

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 06 16:35:54 2018 +0200 (2018-11-06)
parents f48456621a9d
children 0f2575775b2d
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="$PACKAGE-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 }