wok-next view perl-rrd-simple/receipt @ rev 19769

Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 14 09:51:23 2017 +0300 (2017-06-14)
parents 2d12ebd38be4
children bc6672455954
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 LICENSE="GPL"
9 SOURCE="RRD-Simple"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NI/NICOLAW/$TARBALL"
14 DEPENDS="perl rrdtool-perl"
15 BUILD_DEPENDS="perl rrdtool-perl perl-test-pod perl-test-deep \
16 perl-test-pod-coverage perl-module-build"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 perl Makefile.PL &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a stuff/*/ $fs
31 cp -a $install/usr/lib $fs/usr
32 }