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