wok-6.x view perl-math-round/receipt @ rev 12002

clex: new icon
author Samuel Trassare <samuel_trassare@yahoo.com>
date Mon Mar 05 08:55:01 2012 -0800 (2012-03-05)
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 }