# HG changeset patch # User Pascal Bellard # Date 1246031844 -7200 # Node ID 471df2a3ab20eeae788b8872e3648f22befee4c2 # Parent 8968d2135586f9c45ec60a18798816cb736bfe33 perl-rrd-simple: update depends diff -r 8968d2135586 -r 471df2a3ab20 perl-rrd-simple/receipt --- a/perl-rrd-simple/receipt Fri Jun 26 14:31:03 2009 +0000 +++ b/perl-rrd-simple/receipt Fri Jun 26 17:57:24 2009 +0200 @@ -5,9 +5,8 @@ CATEGORY="development" SHORT_DESC="RRD::Simple module is a Perl extension." MAINTAINER="pascal.bellard@slitaz.org" -DEPENDS="perl" +DEPENDS="perl rrdtool-perl" BUILD_DEPENDS="perl" -SUGGESTED="rrdtool" SOURCE="RRD-Simple" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" diff -r 8968d2135586 -r 471df2a3ab20 perl-rrd-simple/stuff/usr/bin/rrd_addsource --- a/perl-rrd-simple/stuff/usr/bin/rrd_addsource Fri Jun 26 14:31:03 2009 +0000 +++ b/perl-rrd-simple/stuff/usr/bin/rrd_addsource Fri Jun 26 17:57:24 2009 +0200 @@ -5,8 +5,9 @@ use RRD::Simple(); -if (@ARGV != 3) { +if (@ARGV != 2) { print "Usage: $0 rrdfile DSname\n"; + exit; } my $file = $ARGV[0];