wok-next view perl-math-round/receipt @ rev 21032
Fix some homepages: follow HTTP redirections.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 17:26:00 2018 +0200 (2018-11-03) |
parents | 4e6503d7a19f |
children | f17e1f86f546 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-math-round"
4 VERSION="0.07"
5 CATEGORY="perl"
6 SHORT_DESC="Math::Round - Perl extension for rounding numbers"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Math-Round"
10 REPOLOGY="perl:math-round"
12 TARBALL="Math-Round-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/G/GR/GROMMEL/$TARBALL"
15 BUILD_DEPENDS="perl"
17 compile_rules() {
18 perl Makefile.PL &&
19 make &&
20 make DESTDIR=$install install &&
22 chmod -R u+w $install &&
23 find $install -type f -exec dos2unix '{}' \;
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="perl"
29 }