wok view perl-math-round/receipt @ rev 13818

tazbug-website: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 06 18:21:06 2013 +0100 (2013-01-06)
parents
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-math-round"
4 VERSION="0.06"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension for rounding numbers"
7 MAINTAINER="slaxemulator@gmail.com"
8 WEB_SITE="http://search.cpan.org/dist/Math-Round"
9 SOURCE="Math-Round"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="http://www.cpan.org/authors/id/G/GR/GROMMEL/$TARBALL"
13 DEPENDS="perl"
14 BUILD_DEPENDS="perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }