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

created recipes for diffuse and diffuse-lang
author Hans-G?nter Theisgen
date Sat Jan 30 17:26:17 2021 +0100 (2021-01-30)
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 }