wok-6.x annotate perl-test-mockmodule/receipt @ rev 22430
Add sshrc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 20 19:07:35 2019 +0100 (2019-12-20) |
parents | |
children | 4c990c14a0c8 |
rev | line source |
---|---|
pascal@20470 | 1 # SliTaz package receipt. |
pascal@20470 | 2 |
pascal@20470 | 3 PACKAGE="perl-test-mockmodule" |
pascal@20470 | 4 VERSION="0.170.0" |
pascal@20470 | 5 CATEGORY="development" |
pascal@20470 | 6 SHORT_DESC="Test::MockModule module is a Perl extension." |
pascal@20470 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20470 | 8 LICENSE="GPL" |
pascal@20470 | 9 DEPENDS="perl-super perl-test-warnings perl-sub-identify" |
pascal@20470 | 10 BUILD_DEPENDS="$DEPENDS" |
pascal@20470 | 11 SOURCE="Test-MockModule" |
pascal@20470 | 12 TARBALL="$SOURCE-v$VERSION.tar.gz" |
pascal@20470 | 13 WEB_SITE="http://cpan.org/" |
pascal@20470 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/G/GF/GFRANKS/$TARBALL" |
pascal@20470 | 15 |
pascal@20470 | 16 # Rules to configure and make the package. |
pascal@20470 | 17 compile_rules() |
pascal@20470 | 18 { |
pascal@20470 | 19 perl Build.PL && |
pascal@20470 | 20 ./Build && |
pascal@20470 | 21 ./Build test && |
pascal@20470 | 22 ./Build --destdir $DESTDIR install |
pascal@20470 | 23 } |
pascal@20470 | 24 |
pascal@20470 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20470 | 26 genpkg_rules() |
pascal@20470 | 27 { |
pascal@20470 | 28 mkdir -p $fs/usr |
pascal@20470 | 29 cp -a $install/usr/lib $fs/usr |
pascal@20470 | 30 } |