wok-6.x rev 3582
perl-rrd-simple: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 26 17:57:24 2009 +0200 (2009-06-26) |
parents | 8968d2135586 |
children | aa630ee8aa6f |
files | perl-rrd-simple/receipt perl-rrd-simple/stuff/usr/bin/rrd_addsource |
line diff
1.1 --- a/perl-rrd-simple/receipt Fri Jun 26 14:31:03 2009 +0000 1.2 +++ b/perl-rrd-simple/receipt Fri Jun 26 17:57:24 2009 +0200 1.3 @@ -5,9 +5,8 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="RRD::Simple module is a Perl extension." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 -DEPENDS="perl" 1.8 +DEPENDS="perl rrdtool-perl" 1.9 BUILD_DEPENDS="perl" 1.10 -SUGGESTED="rrdtool" 1.11 SOURCE="RRD-Simple" 1.12 TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html"
2.1 --- a/perl-rrd-simple/stuff/usr/bin/rrd_addsource Fri Jun 26 14:31:03 2009 +0000 2.2 +++ b/perl-rrd-simple/stuff/usr/bin/rrd_addsource Fri Jun 26 17:57:24 2009 +0200 2.3 @@ -5,8 +5,9 @@ 2.4 2.5 use RRD::Simple(); 2.6 2.7 -if (@ARGV != 3) { 2.8 +if (@ARGV != 2) { 2.9 print "Usage: $0 rrdfile DSname\n"; 2.10 + exit; 2.11 } 2.12 2.13 my $file = $ARGV[0];