wok-6.x annotate perl-test-mockobject/receipt @ rev 23398
updated perl-test-mockobject (1.20180705 -> 1.20200122)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:30:03 2020 +0100 (2020-03-31) |
parents | a3684252aaf1 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-test-mockobject" |
Hans-G?nter@23398 | 4 VERSION="1.20200122" |
pascal@20469 | 5 CATEGORY="development" |
Hans-G?nter@23398 | 6 SHORT_DESC="Perl extension Test::MockObject." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
Hans-G?nter@23398 | 9 WEB_SITE="https://metacpan.org/release/Test-MockObject" |
Hans-G?nter@23398 | 10 |
pascal@20469 | 11 SOURCE="Test-MockObject" |
pascal@20469 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23398 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" |
Hans-G?nter@23398 | 14 |
Hans-G?nter@23398 | 15 DEPENDS="perl perl-test-exception" |
Hans-G?nter@23398 | 16 BUILD_DEPENDS="$DEPENDS" |
pascal@20469 | 17 |
pascal@20469 | 18 # Rules to configure and make the package. |
pascal@20469 | 19 compile_rules() |
pascal@20469 | 20 { |
pascal@20469 | 21 perl Makefile.PL && |
pascal@20469 | 22 make && |
pascal@20469 | 23 make DESTDIR=$DESTDIR install |
pascal@20469 | 24 } |
pascal@20469 | 25 |
pascal@20469 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 27 genpkg_rules() |
pascal@20469 | 28 { |
pascal@20469 | 29 mkdir -p $fs/usr |
Hans-G?nter@23398 | 30 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 31 } |