wok-6.x view perl-test-mockmodule/receipt @ rev 23652

updated smtube (19.6.0 -> 20.1.0)
author Hans-G?nter Theisgen
date Mon Apr 20 15:28:06 2020 +0100 (2020-04-20)
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 }