wok annotate perl-math-round/receipt @ rev 18910
Add gnubg (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 22 21:54:46 2016 +0100 (2016-02-22) |
parents | 062741b552e9 |
children | 6e8b1bcb30e2 |
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" |
slaxemulator@11977 | 9 WEB_SITE="http://search.cpan.org/dist/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 } |