wok-6.x annotate perl-filesys-statvfs/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | 2d12ebd38be4 |
children | ca4a422cce07 |
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@20682 | 12 WGET_URL="https://metacpan.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 |