wok view perl-test-mockmodule/receipt @ rev 23696

Up libtcplay (3.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 27 09:29:39 2020 +0000 (2020-04-27)
parents 092704d51019
children 15650f5d595b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-test-mockmodule"
4 VERSION="0.172.0"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Test::MockModule."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Test-MockModule"
11 SOURCE="Test-MockModule"
12 TARBALL="$SOURCE-v$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
15 DEPENDS="perl-sub-identify perl-super perl-test-warnings"
16 BUILD_DEPENDS="$DEPENDS"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Build.PL &&
22 ./Build &&
23 ./Build test &&
24 ./Build --destdir $DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 }