wok-6.x annotate perl-test-mockobject/receipt @ rev 25528

try building libluv again
author Hans-G?nter Theisgen
date Sat Feb 25 10:11:09 2023 +0100 (21 months ago)
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 }