wok annotate perl-math-round/receipt @ rev 20671
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 11:33:03 2019 +0100 (2019-01-24) |
parents | 2d12ebd38be4 |
children | 00cb3eca29dc |
rev | line source |
---|---|
slaxemulator@11977 | 1 # SliTaz package receipt. |
slaxemulator@11977 | 2 |
slaxemulator@11977 | 3 PACKAGE="perl-math-round" |
slaxemulator@11977 | 4 VERSION="0.06" |
slaxemulator@11977 | 5 CATEGORY="development" |
slaxemulator@11977 | 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" |
slaxemulator@11977 | 10 SOURCE="Math-Round" |
slaxemulator@11977 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11977 | 12 WGET_URL="http://www.cpan.org/authors/id/G/GR/GROMMEL/$TARBALL" |
slaxemulator@11977 | 13 |
slaxemulator@11977 | 14 DEPENDS="perl" |
slaxemulator@11977 | 15 BUILD_DEPENDS="perl" |
slaxemulator@11977 | 16 |
slaxemulator@11977 | 17 # Rules to configure and make the package. |
slaxemulator@11977 | 18 compile_rules() |
slaxemulator@11977 | 19 { |
slaxemulator@11977 | 20 cd $src |
slaxemulator@11977 | 21 perl Makefile.PL && |
slaxemulator@11977 | 22 make && |
slaxemulator@11977 | 23 make DESTDIR=$DESTDIR install |
slaxemulator@11977 | 24 } |
slaxemulator@11977 | 25 |
slaxemulator@11977 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11977 | 27 genpkg_rules() |
slaxemulator@11977 | 28 { |
slaxemulator@11977 | 29 cp -a $install/usr $fs |
slaxemulator@11977 | 30 } |