wok diff perl-test-mockmodule/receipt @ rev 20615
Update varka
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 21 20:44:57 2018 +0100 (2018-12-21) |
parents | |
children | 4c990c14a0c8 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-test-mockmodule/receipt Fri Dec 21 20:44:57 2018 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-test-mockmodule" 1.7 +VERSION="0.170.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Test::MockModule module is a Perl extension." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL" 1.12 +DEPENDS="perl-super perl-test-warnings perl-sub-identify" 1.13 +BUILD_DEPENDS="$DEPENDS" 1.14 +SOURCE="Test-MockModule" 1.15 +TARBALL="$SOURCE-v$VERSION.tar.gz" 1.16 +WEB_SITE="http://cpan.org/" 1.17 +WGET_URL="https://cpan.metacpan.org/authors/id/G/GF/GFRANKS/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + perl Build.PL && 1.23 + ./Build && 1.24 + ./Build test && 1.25 + ./Build --destdir $DESTDIR install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr 1.32 + cp -a $install/usr/lib $fs/usr 1.33 +}