wok annotate perl-rrd-simple/receipt @ rev 3577

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