wok-current annotate perl-rrd-simple/receipt @ rev 16263
ARM: add yad and slitaz-boxes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 05 08:48:26 2014 +0200 (2014-04-05) |
parents | 0b50af37e929 |
children | 20661c276bcf |
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@14702 | 8 LICENSE="GPL" |
pascal@3577 | 9 SOURCE="RRD-Simple" |
pascal@3577 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3577 | 11 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" |
pascal@3577 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NI/NICOLAW/$TARBALL" |
pascal@3577 | 13 |
pascal@11880 | 14 DEPENDS="perl rrdtool-perl" |
pascal@11947 | 15 BUILD_DEPENDS="perl rrdtool-perl perl-test-pod perl-test-deep perl-test-pod-coverage" |
pascal@11880 | 16 |
pascal@3577 | 17 # Rules to configure and make the package. |
pascal@3577 | 18 compile_rules() |
pascal@3577 | 19 { |
pascal@3577 | 20 cd $src |
pascal@3577 | 21 perl Makefile.PL && |
pascal@3577 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@3577 | 24 } |
pascal@3577 | 25 |
pascal@3577 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3577 | 27 genpkg_rules() |
pascal@3577 | 28 { |
pascal@3577 | 29 cp -a stuff/*/ $fs |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@3577 | 31 } |
pascal@3577 | 32 |