wok-next annotate perl-test-file-sharedir/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | |
children | 4e6503d7a19f |
rev | line source |
---|---|
al@19709 | 1 # SliTaz package receipt. |
al@19709 | 2 |
al@19709 | 3 PACKAGE="perl-test-file-sharedir" |
al@19709 | 4 VERSION="1.001002" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="Test::File::ShareDir - Create a Fake ShareDir for your modules for \ |
al@19709 | 7 testing" |
al@19709 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19709 | 9 LICENSE="GPL" |
al@19709 | 10 WEB_SITE="https://metacpan.org/release/Test-File-ShareDir" |
al@19709 | 11 |
al@19709 | 12 TARBALL="Test-File-ShareDir-$VERSION.tar.gz" |
al@19709 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/$TARBALL" |
al@19709 | 14 |
al@19709 | 15 DEPENDS="perl-class-tiny perl-file-copy-recursive perl-file-sharedir \ |
al@19709 | 16 perl-path-tiny perl-scope-guard" |
al@19709 | 17 BUILD_DEPENDS="$DEPENDS perl-test-fatal" |
al@19709 | 18 |
al@19709 | 19 # Rules to configure and make the package. |
al@19709 | 20 compile_rules() |
al@19709 | 21 { |
al@19709 | 22 perl Makefile.PL && |
al@19709 | 23 make && make DESTDIR=$install install && |
al@19709 | 24 |
al@19709 | 25 chmod -R u+w $install |
al@19709 | 26 } |
al@19709 | 27 |
al@19709 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19709 | 29 genpkg_rules() |
al@19709 | 30 { |
al@19709 | 31 copy @std |
al@19709 | 32 } |