wok-next annotate perl-math-round/receipt @ rev 20143
postgresql: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:18:25 2017 +0100 (2017-11-01) |
parents | 2d12ebd38be4 |
children | 4e6503d7a19f |
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" |
slaxemulator@11977 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/Math-Round" |
al@19709 | 10 |
al@19709 | 11 TARBALL="Math-Round-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.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 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install && |
al@19709 | 24 find $install -type f -exec dos2unix '{}' \; |
slaxemulator@11977 | 25 } |
slaxemulator@11977 | 26 |
slaxemulator@11977 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11977 | 28 genpkg_rules() |
slaxemulator@11977 | 29 { |
al@19709 | 30 copy @std |
slaxemulator@11977 | 31 } |