wok annotate perl-filesys-statvfs/receipt @ rev 14702
perl, rrdtool: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 18:46:07 2013 +0200 (2013-06-07) |
parents | ff88377757d2 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@14280 | 1 # SliTaz package receipt. |
pascal@14280 | 2 |
pascal@14280 | 3 PACKAGE="perl-filesys-statvfs" |
pascal@14280 | 4 VERSION="0.82" |
pascal@14280 | 5 CATEGORY="development" |
pascal@14280 | 6 SHORT_DESC="Filesys::Statvfs module is a Perl extension." |
pascal@14280 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@14280 | 9 SOURCE="Filesys-Statvfs" |
pascal@14280 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14280 | 11 WEB_SITE="http://cpan.org/" |
pascal@14280 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/I/IG/IGUTHRIE/$TARBALL" |
pascal@14280 | 13 |
pascal@14280 | 14 DEPENDS="perl" |
pascal@14280 | 15 BUILD_DEPENDS="perl" |
pascal@14280 | 16 |
pascal@14280 | 17 # Rules to configure and make the package. |
pascal@14280 | 18 compile_rules() |
pascal@14280 | 19 { |
pascal@14280 | 20 cd $src |
pascal@14280 | 21 perl Makefile.PL && |
pascal@14280 | 22 make && |
pascal@14280 | 23 make DESTDIR=$DESTDIR install |
pascal@14280 | 24 } |
pascal@14280 | 25 |
pascal@14280 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14280 | 27 genpkg_rules() |
pascal@14280 | 28 { |
pascal@14280 | 29 mkdir -p $fs/usr |
pascal@14280 | 30 cp -a $install/usr/lib $fs/usr |
pascal@14280 | 31 } |
pascal@14280 | 32 |