wok-next annotate perl-filesys-statvfs/receipt @ rev 19600
Up cookutils (869)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 23 11:20:11 2017 +0200 (2017-01-23) |
parents | ff88377757d2 |
children | 1a86cb99cbbf |
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 |