wok-6.x annotate perl-test-mockobject/receipt @ rev 21085
updated john again (1.7.8 -> 1.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 15 14:47:39 2019 +0100 (2019-03-15) |
parents | 660220d9dba5 |
children | 16c39076b080 |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-test-mockobject" |
pascal@20469 | 4 VERSION="1.20180705" |
pascal@20469 | 5 CATEGORY="development" |
pascal@20469 | 6 SHORT_DESC="Test::MockObject module is a Perl extension." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
pascal@20472 | 9 DEPENDS="perl-test-exception" |
pascal@20472 | 10 BUILD_DEPENDS="$DEPENDS" |
pascal@20469 | 11 SOURCE="Test-MockObject" |
pascal@20469 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20469 | 13 WEB_SITE="http://cpan.org/" |
pascal@20469 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/$TARBALL" |
pascal@20469 | 15 |
pascal@20469 | 16 # Rules to configure and make the package. |
pascal@20469 | 17 compile_rules() |
pascal@20469 | 18 { |
pascal@20469 | 19 perl Makefile.PL && |
pascal@20469 | 20 make && |
pascal@20469 | 21 make DESTDIR=$DESTDIR install |
pascal@20469 | 22 } |
pascal@20469 | 23 |
pascal@20469 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 25 genpkg_rules() |
pascal@20469 | 26 { |
pascal@20469 | 27 mkdir -p $fs/usr |
pascal@20469 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 29 } |