wok-current annotate perl-test-mockobject/receipt @ rev 25069
updated alsaequal (0.6 -> 0.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 14:01:46 2022 +0100 (2022-06-10) |
parents | 16c39076b080 |
children |
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@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@20469 | 24 # Rules to configure and make the package. |
pascal@20469 | 25 compile_rules() |
pascal@20469 | 26 { |
pascal@20469 | 27 perl Makefile.PL && |
pascal@20469 | 28 make && |
pascal@20469 | 29 make DESTDIR=$DESTDIR install |
pascal@20469 | 30 } |
pascal@20469 | 31 |
pascal@20469 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 33 genpkg_rules() |
pascal@20469 | 34 { |
pascal@20469 | 35 mkdir -p $fs/usr |
Hans-G?nter@23398 | 36 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 37 } |