wok view perl-rrd-simple/receipt @ rev 11946

add perl-mathround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 01 10:46:31 2012 +0100 (2012-03-01)
parents 471df2a3ab20
children 0b50af37e929
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-rrd-simple"
4 VERSION="1.44"
5 CATEGORY="development"
6 SHORT_DESC="RRD::Simple module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="RRD-Simple"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html"
11 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NI/NICOLAW/$TARBALL"
13 DEPENDS="perl rrdtool-perl"
14 BUILD_DEPENDS="perl rrdtool-perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a stuff/*/ $fs
29 cp -a $_pkg/usr/lib $fs/usr
30 }