wok-next view perl-math-round/receipt @ rev 20957

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 15:26:05 2018 +0300 (2018-09-05)
parents 1a86cb99cbbf
children d5aab818505e
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="slaxemulator@gmail.com"
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 DEPENDS="perl"
16 BUILD_DEPENDS="perl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL &&
22 make && make DESTDIR=$install install &&
24 chmod -R u+w $install &&
25 find $install -type f -exec dos2unix '{}' \;
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 copy @std
32 }