wok annotate valgrind/receipt @ rev 4476
lxpanel: default iface in /etc/network.conf is eth0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 10 00:43:35 2009 +0100 (2009-11-10) |
parents | 90af71b96a7f |
children | f917e0dfdfbd |
rev | line source |
---|---|
paul@3641 | 1 # SliTaz package receipt. |
paul@3641 | 2 |
paul@3641 | 3 PACKAGE="valgrind" |
paul@4457 | 4 VERSION="3.5.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="" |
paul@3641 | 9 BUILD_DEPENDS="sed" |
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" |
paul@3641 | 14 |
paul@3641 | 15 |
paul@3641 | 16 # Rules to configure and make the package. |
paul@3641 | 17 compile_rules() |
paul@3641 | 18 { |
paul@3641 | 19 cd $src |
paul@3641 | 20 ./configure \ |
paul@3641 | 21 --prefix=/usr \ |
paul@3641 | 22 --infodir=/usr/share/info \ |
paul@3641 | 23 --mandir=/usr/share/man \ |
paul@3641 | 24 $CONFIGURE_ARGS && |
paul@3641 | 25 make && make DESTDIR=$PWD/_pkg install |
paul@3641 | 26 } |
paul@3641 | 27 |
paul@3641 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3641 | 29 genpkg_rules() |
paul@3641 | 30 { |
paul@3641 | 31 mkdir -p $fs/usr/lib/valgrind |
paul@3641 | 32 cp -a $_pkg/usr/bin $fs/usr |
paul@3641 | 33 cp -a $_pkg/usr/lib/valgrind/* $fs/usr/lib/valgrind |
paul@3641 | 34 # remove static libraries |
paul@4457 | 35 rm $fs/usr/lib/valgrind/*.*a |
paul@3641 | 36 } |