wok-current rev 3641

Add: valgrind
author Paul Issott <paul@slitaz.org>
date Sat Jul 04 11:08:42 2009 +0000 (2009-07-04)
parents 672d4595c451
children 99b1ceefe255
files valgrind-dev/receipt valgrind/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/valgrind-dev/receipt	Sat Jul 04 11:08:42 2009 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="valgrind-dev"
     1.7 +VERSION="3.4.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Valgrind devel files."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://valgrind.org/"
    1.14 +WANTED="valgrind"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib/valgrind/x86-linux
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/lib/valgrind/x86-linux/*.*a $fs/usr/lib/valgrind/x86-linux
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/valgrind/receipt	Sat Jul 04 11:08:42 2009 +0000
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="valgrind"
     2.7 +VERSION="3.4.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Memory debugger and profiler."
    2.10 +MAINTAINER="paul@slitaz.org"
    2.11 +DEPENDS=""
    2.12 +BUILD_DEPENDS="sed"
    2.13 +SUGGESTED="perl"
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 +WEB_SITE="http://valgrind.org/"
    2.16 +WGET_URL="http://valgrind.org/downloads/$TARBALL"
    2.17 +
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src
    2.23 +	./configure \
    2.24 +		--prefix=/usr \
    2.25 +		--infodir=/usr/share/info \
    2.26 +		--mandir=/usr/share/man \
    2.27 +		$CONFIGURE_ARGS &&
    2.28 +	make && make DESTDIR=$PWD/_pkg install
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/lib/valgrind
    2.35 +	cp -a $_pkg/usr/bin $fs/usr
    2.36 +	cp -a $_pkg/usr/lib/valgrind/* $fs/usr/lib/valgrind
    2.37 +	# remove static libraries
    2.38 +	rm $fs/usr/lib/valgrind/x86-linux/*.*a	
    2.39 +}