# HG changeset patch # User Pascal Bellard # Date 1330597151 -3600 # Node ID 0b50af37e929e0962bad39e5ef2a08bb6e1cadfd # Parent 21d3d849daa2afca612e991a1f889b7d31328f31 add perl-test-pod-coverage diff -r 21d3d849daa2 -r 0b50af37e929 perl-rrd-simple/receipt --- a/perl-rrd-simple/receipt Thu Mar 01 10:46:31 2012 +0100 +++ b/perl-rrd-simple/receipt Thu Mar 01 11:19:11 2012 +0100 @@ -11,7 +11,7 @@ WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NI/NICOLAW/$TARBALL" DEPENDS="perl rrdtool-perl" -BUILD_DEPENDS="perl rrdtool-perl" +BUILD_DEPENDS="perl rrdtool-perl perl-test-pod perl-test-deep perl-test-pod-coverage" # Rules to configure and make the package. compile_rules() diff -r 21d3d849daa2 -r 0b50af37e929 perl-test-pod-coverage/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-test-pod-coverage/receipt Thu Mar 01 11:19:11 2012 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="perl-test-pod-coverage" +VERSION="1.08" +CATEGORY="development" +SHORT_DESC="Test::Pod::Coverage module is a Perl extension." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Test-Pod-Coverage" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +}