wok annotate perl-math-round/receipt @ rev 25002

updated nrg2iso (0.4 -> 0.4.1)
author Hans-G?nter Theisgen
date Mon May 16 14:45:30 2022 +0100 (2022-05-16)
parents 00cb3eca29dc
children 0af8df0b46fc
rev   line source
slaxemulator@11977 1 # SliTaz package receipt.
slaxemulator@11977 2
slaxemulator@11977 3 PACKAGE="perl-math-round"
Hans-G?nter@23367 4 VERSION="0.07"
slaxemulator@11977 5 CATEGORY="development"
Hans-G?nter@23367 6 SHORT_DESC="Perl extension for rounding numbers."
slaxemulator@11977 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
pascal@20671 9 WEB_SITE="https://metacpan.org/release/Math-Round"
Hans-G?nter@23367 10
slaxemulator@11977 11 SOURCE="Math-Round"
slaxemulator@11977 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23367 13 WGET_URL="https://www.cpan.org/modules/by-module/Math/$TARBALL"
slaxemulator@11977 14
slaxemulator@11977 15 DEPENDS="perl"
slaxemulator@11977 16 BUILD_DEPENDS="perl"
slaxemulator@11977 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
slaxemulator@11977 24 # Rules to configure and make the package.
slaxemulator@11977 25 compile_rules()
slaxemulator@11977 26 {
slaxemulator@11977 27 perl Makefile.PL &&
slaxemulator@11977 28 make &&
slaxemulator@11977 29 make DESTDIR=$DESTDIR install
slaxemulator@11977 30 }
slaxemulator@11977 31
slaxemulator@11977 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11977 33 genpkg_rules()
slaxemulator@11977 34 {
Hans-G?nter@23367 35 cp -a $install/usr $fs
slaxemulator@11977 36 }