wok-4.x annotate valgrind/receipt @ rev 8133
Fix: mesa need lesstif & libxml2-python to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Jan 25 00:49:46 2011 +0100 (2011-01-25) |
parents | 9760c1c80a57 |
children | 0b4cf0d9e1b5 |
rev | line source |
---|---|
paul@3641 | 1 # SliTaz package receipt. |
paul@3641 | 2 |
paul@3641 | 3 PACKAGE="valgrind" |
slaxemulator@6915 | 4 VERSION="3.6.0" |
paul@3641 | 5 CATEGORY="development" |
paul@3641 | 6 SHORT_DESC="Memory debugger and profiler." |
paul@3641 | 7 MAINTAINER="paul@slitaz.org" |
paul@3641 | 8 DEPENDS="" |
erjo@5890 | 9 BUILD_DEPENDS="sed autoconf" |
paul@3641 | 10 SUGGESTED="perl" |
paul@3641 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@3641 | 12 WEB_SITE="http://valgrind.org/" |
paul@3641 | 13 WGET_URL="http://valgrind.org/downloads/$TARBALL" |
jozee@4975 | 14 TAGS="profiler" |
paul@3641 | 15 |
paul@3641 | 16 |
paul@3641 | 17 # Rules to configure and make the package. |
paul@3641 | 18 compile_rules() |
paul@3641 | 19 { |
paul@3641 | 20 cd $src |
erjo@5890 | 21 |
erjo@5890 | 22 # Fix build with glibc 2.11 |
erjo@5890 | 23 #http://www.linuxfromscratch.org/patches/downloads/valgrind/valgrind-3.5.0-glibc-2.11.patch |
slaxemulator@6915 | 24 patch -p1 < ../stuff/valgrind-3.6.0-glibc211.u || exit 1 |
erjo@5890 | 25 autoconf |
erjo@5890 | 26 |
paul@3641 | 27 ./configure \ |
paul@3641 | 28 --prefix=/usr \ |
paul@3641 | 29 --infodir=/usr/share/info \ |
paul@3641 | 30 --mandir=/usr/share/man \ |
paul@3641 | 31 $CONFIGURE_ARGS && |
paul@3641 | 32 make && make DESTDIR=$PWD/_pkg install |
paul@3641 | 33 } |
paul@3641 | 34 |
paul@3641 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3641 | 36 genpkg_rules() |
paul@3641 | 37 { |
paul@3641 | 38 mkdir -p $fs/usr/lib/valgrind |
paul@3641 | 39 cp -a $_pkg/usr/bin $fs/usr |
paul@3641 | 40 cp -a $_pkg/usr/lib/valgrind/* $fs/usr/lib/valgrind |
paul@3641 | 41 # remove static libraries |
paul@4457 | 42 rm $fs/usr/lib/valgrind/*.*a |
paul@3641 | 43 } |