wok annotate perl-test-mockmodule/receipt @ rev 23807

eudev: include relocated udevadm
author Richard Dunbar <mojo@slitaz.org>
date Sun May 24 12:23:14 2020 -0400 (2020-05-24)
parents 092704d51019
children 15650f5d595b
rev   line source
pascal@20470 1 # SliTaz package receipt.
pascal@20470 2
pascal@20470 3 PACKAGE="perl-test-mockmodule"
Hans-G?nter@23397 4 VERSION="0.172.0"
pascal@20470 5 CATEGORY="development"
Hans-G?nter@23397 6 SHORT_DESC="Perl extension Test::MockModule."
pascal@20470 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20470 8 LICENSE="GPL"
Hans-G?nter@23397 9 WEB_SITE="https://metacpan.org/release/Test-MockModule"
Hans-G?nter@23397 10
pascal@20470 11 SOURCE="Test-MockModule"
pascal@20470 12 TARBALL="$SOURCE-v$VERSION.tar.gz"
Hans-G?nter@23397 13 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
Hans-G?nter@23397 14
Hans-G?nter@23397 15 DEPENDS="perl-sub-identify perl-super perl-test-warnings"
Hans-G?nter@23397 16 BUILD_DEPENDS="$DEPENDS"
pascal@20470 17
pascal@20470 18 # Rules to configure and make the package.
pascal@20470 19 compile_rules()
pascal@20470 20 {
pascal@20470 21 perl Build.PL &&
pascal@20470 22 ./Build &&
pascal@20470 23 ./Build test &&
pascal@20470 24 ./Build --destdir $DESTDIR install
pascal@20470 25 }
pascal@20470 26
pascal@20470 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20470 28 genpkg_rules()
pascal@20470 29 {
pascal@20470 30 mkdir -p $fs/usr
Hans-G?nter@23397 31 cp -a $install/usr/lib $fs/usr
pascal@20470 32 }