wok-current annotate perl-rrd-simple/receipt @ rev 12795

slitaz-base-files: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 09:43:02 2012 +0200 (2012-05-18)
parents 86d5a1435da7
children 2d12ebd38be4
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 SOURCE="RRD-Simple"
pascal@3577 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@3577 10 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html"
pascal@3577 11 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NI/NICOLAW/$TARBALL"
pascal@3577 12
pascal@11880 13 DEPENDS="perl rrdtool-perl"
pascal@11947 14 BUILD_DEPENDS="perl rrdtool-perl perl-test-pod perl-test-deep perl-test-pod-coverage"
pascal@11880 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