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